mirror of
https://github.com/apple/foundationdb.git
synced 2026-01-25 12:28:19 +00:00
* Allow applyUpdates in multiple batches. (#10583) * Optimize physical shard move (#10962) * Allow applyUpdates in multiple batches. * Persist lastAppliedVersion together with a batch of updates. * Fixed repeatedly applying the same fetched mutation. Apply updates at different versions. * Fixed race between removeDataShard and isInVersionedData. * Ignore mutations earlier than `lastAppliedVersion`. * Buggify the batch limit for applying updates. * Implemented async load of updates. * Fixed out-of-order version issue. * Cleanup. * Batch commit MoveInUpdates. * Avoid popping unpersisted updates. * Increment MoveInUpdates::lastAppliedVersion in MoveInUpdates::next(). Fixed MoveInUpdates::hasNext(). * Fixed loadUpdates start version. * cleanup. * Cleanup. * fmt * Commit MoveInUpdates regardless of MoveInShard status. * Enable move restore. * Disabled move restore and fallBackToAddingShard from ingestion failure. * Resolved comments. * Fixed leaks from other prs. * Speed up physical shard move (#11056) * Allow applyUpdates in multiple batches. * Persist lastAppliedVersion together with a batch of updates. * Fixed repeatedly applying the same fetched mutation. Apply updates at different versions. * Fixed race between removeDataShard and isInVersionedData. * Ignore mutations earlier than `lastAppliedVersion`. * Buggify the batch limit for applying updates. * Implemented async load of updates. * Fixed out-of-order version issue. * Cleanup. * Batch commit MoveInUpdates. * Avoid popping unpersisted updates. * Increment MoveInUpdates::lastAppliedVersion in MoveInUpdates::next(). Fixed MoveInUpdates::hasNext(). * Fixed loadUpdates start version. * cleanup. * Cleanup. * fmt * Commit MoveInUpdates regardless of MoveInShard status. * Enable move restore. * Disabled move restore and fallBackToAddingShard from ingestion failure. * Get rid of persisting MoveInShard states between phases. * Make updateMoveShardMetadata synchronous. * Recovered code deleted accidentally. * Cleanup. * cleanup. * Physical shard move tss (#11057) * Refactored newDataMoveId() and decodeServerKeysValue(). * Enabled physical shard move for tss. * Added unit test & cleanup. * clean up test configs.
9.7 KiB
9.7 KiB