-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](cloud-mow) Fix the issue of missing and removing some old versi…
…on delete bitmap (#44300) ### What problem does this PR solve? Related PR: #40204 Problem Summary: pr #40204 support removing old delete bitmap, however it donesn't consider boundary which will lead to miss some delete bitmap should be removed on be , it only affect local delete bitmap, the delete bitmap store in fdb is right, and these missing delete bitmaps can only be deleted by next base compaciton before this pr.
- Loading branch information
Showing
9 changed files
with
253 additions
and
75 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
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
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
67 changes: 58 additions & 9 deletions
67
regression-test/data/compaction/test_cu_compaction_remove_old_version_delete_bitmap.out
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 |
---|---|---|
@@ -1,29 +1,78 @@ | ||
-- This file is automatically generated. You should know what you did if you want to edit this | ||
-- !sql -- | ||
0 0 0 | ||
1 8 8 | ||
0 0 8 | ||
1 1 1 | ||
2 2 2 | ||
3 3 3 | ||
4 4 4 | ||
5 5 5 | ||
6 6 6 | ||
7 7 7 | ||
8 8 8 | ||
|
||
-- !sql -- | ||
0 0 0 | ||
1 8 8 | ||
0 0 8 | ||
1 1 1 | ||
2 2 2 | ||
3 3 3 | ||
4 4 4 | ||
5 5 5 | ||
6 6 6 | ||
7 7 7 | ||
8 8 8 | ||
|
||
-- !sql -- | ||
0 0 0 | ||
0 0 13 | ||
1 13 13 | ||
2 2 2 | ||
3 3 3 | ||
4 4 4 | ||
5 5 5 | ||
6 6 6 | ||
7 7 7 | ||
8 8 8 | ||
|
||
-- !sql -- | ||
0 0 0 | ||
0 0 13 | ||
1 13 13 | ||
2 2 2 | ||
3 3 3 | ||
4 4 4 | ||
5 5 5 | ||
6 6 6 | ||
7 7 7 | ||
8 8 8 | ||
|
||
-- !sql -- | ||
0 0 0 | ||
0 0 18 | ||
1 23 23 | ||
2 2 2 | ||
3 3 3 | ||
4 4 4 | ||
5 5 5 | ||
6 6 6 | ||
7 7 7 | ||
8 8 8 | ||
|
||
-- !sql -- | ||
0 0 0 | ||
0 0 18 | ||
1 23 23 | ||
2 2 2 | ||
3 3 3 | ||
4 4 4 | ||
5 5 5 | ||
6 6 6 | ||
7 7 7 | ||
8 8 8 | ||
|
||
-- !sql -- | ||
0 0 0 | ||
0 5 5 | ||
1 28 28 | ||
2 2 2 | ||
3 3 3 | ||
4 4 4 | ||
5 5 5 | ||
6 6 6 | ||
7 7 7 | ||
8 8 8 | ||
|
Oops, something went wrong.