obkv-table-client-java
obkv-table-client-java copied to clipboard
fix(client): address issues with tablet ID changes during splits
Summary
This update resolves several critical issues encountered in client operations
when tablet IDs change due to partition splits:
-
Resolved an issue where the
Putoperation failed to detect updated tablet
information, resulting in persistent write failures. The fix ensures that
the client properly updates and handles new tablet configurations. -
Implemented a safer retry mechanism for batch operations. After refreshing
the routing table, batch operations recalculate their grouping based on the
new partitions, preventing writes to incorrect partitions and ensuring data
integrity. -
Fixed the
scanlogic where holding onto outdated routing information led
to infinite retries on illegal partitions. The updated scan logic now supports
both forward and reverse scan directions, enhancing its robustness and
flexibility in dynamically changing partition environments.