-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(resharding): flat storage resharding mvp (#12164)
The PR adds early MVP capabilities of resharding flat storage (V3). Main addition is `FlatStorageResharder` and all the toolings around that. Also, you can see traces of an early attempt to tie-in the resharder to existing flat storage code, mainly the flat storage creator. - `FlatStorageResharder` takes care of everything related to resharding the flat storage. - Its running tasks can be interrupted by the a controller (integrated with existing resharding handle) - Uses the concept of a scheduler to run tasks in the background - `ReshardingEventType` is an utility enum to represent types of resharding. There's one for now, but it makes easier adding more. ## Achievements - Preparing flat storage's content for children after a shard split, for account-id based keys only. - Deletion of parent flat storage ## Missing pieces - Catchup phase for children and creation of proper flat storage - Handling more complex key-values (not account-id based) - Integration with resharding manager and flat storage creator - Additional tests - Metrics Missing pieces will likely be done in another PR. --- EDIT: integrated with ShardLayoutV2, fixed all unit tests, re-arranged description.
- Loading branch information
Showing
16 changed files
with
1,314 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.