-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a problem in TitanTableBuilder::Add() (#233)
* Fix a problem in TitanTableBuilder::Add() When flushing memtable, which includes kTypeBlobIndex or kTypeMerge generated by GC, processing kTypeBlobIndex or kTypeMerge must consider whether blob_builder_ is in the buffered state. Signed-off-by: Borelset <[email protected]> * Update the "DictCompressDisorder" test to cover the new-found corner case. Signed-off-by: Borelset <[email protected]> * Extract duplicate code and replace them with TitanTableBuilder::AddSmallToTableAdaptively(). Signed-off-by: Borelset <[email protected]> * Rename function. Signed-off-by: Borelset <[email protected]> * Reformat Signed-off-by: Borelset <[email protected]> * Rename function to AddSmall Signed-off-by: Borelset <[email protected]> * Update comments in AddSmall() Co-authored-by: Connor <[email protected]> Signed-off-by: Borelset <[email protected]> * Reformat comments Signed-off-by: Borelset <[email protected]> * Rename functions for clarity. Signed-off-by: Borelset <[email protected]> * fix a mistake in comments. Signed-off-by: Borelset <[email protected]> * add a comment. Signed-off-by: Borelset <[email protected]> * Reformat Signed-off-by: Borelset <[email protected]> Co-authored-by: Connor <[email protected]>
- Loading branch information
1 parent
7827af9
commit bdc92e0
Showing
3 changed files
with
72 additions
and
27 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
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