-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use manifest updates stats in
TableData
to trigger snapshot (#…
…1076) ## Rationale Now we stats manifest updates of all tables in `Manifest` to trigger snapshot. However when snapshot is triggered, it will just do snapshot of latest table storing update. It is obvious unreasonable... Worse, this mechanism lead to bug #1075 ... So In this pr, I place the manifest updates stats into `TableData` , and each table can only trigger snapshot of itself rather than others. ## Detailed Changes + Place the manifest updates stats into `TableData`. + Use it to trigger manifest snapshot. ## Test Plan Test by new ut.
- Loading branch information
Showing
4 changed files
with
185 additions
and
96 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.