-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filestore docs: BlockList and Rebase logic (#2833)
- Loading branch information
Showing
4 changed files
with
2,998 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Block List format and Rebase logic | ||
|
||
[MixedBlocks](data_index.md#mixedblocks) stores block metadata for each blob in the form of [BlockLists](https://github.com/ydb-platform/nbs/blob/main/cloud/filestore/libs/storage/tablet/model/block_list.h). BlockLists have complex binary format and are encoded by [this code](https://github.com/ydb-platform/nbs/blob/main/cloud/filestore/libs/storage/tablet/model/block_list_encode.cpp). CommitIds of the blocks described by BlockLists can be changed by the [rebase logic](https://github.com/ydb-platform/nbs/blob/main/cloud/filestore/libs/storage/tablet/rebase_logic.cpp) to improve metadata grouping and decrease BlockList size. | ||
|
||
Deletions in BlockList code simply mean block MaxCommitIds and are not directly related to DeletionMarkers. | ||
|
||
![mixed_blocks_svg](../../../excalidraw/mixed_blocks_rebase_logic.svg) |
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.