-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes race conditions between tablet refresh and minor compaction (#…
…3634) This commit moved the tablet twoards using a TabletMetadata object as the source of the tablets files instead of tracking the files itself. The move twoards using TabletMetadata support the changes to fix the race conditions with tablet refresh. Committing a minor compaction to walogs and the metadata table is now mutually exclusive with refreshing a tablets metadata. Scans should always see a consistent view of the in memory maps a tablet has and the files it has after this change. Before this change a tablet scan could see the file produced by a minor compaction and the in memory map that was the source of that file. Scans should only see one or the other. fixes #3625
- Loading branch information
1 parent
b01528f
commit 7cf496a
Showing
21 changed files
with
511 additions
and
1,493 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
Oops, something went wrong.