forked from tikv/tikv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rafstore, engine_rocks: periodic full compaction
ref tikv#12729 adds the concept of a full compaction: a compaction that compacts all columns families, ranges, and levels. this has the effect of deleting all of the tombstone markers. if ``raftstore.full-compact-tick-interval`` is set, attempt running full compaction at least frequently. if ``raftstore.full_compact_restrict_hours_local_tz`` is set, run full compaction only during the hours specified. the tikv.yaml segment below will run compaction at 03:00 and 23:00 (3am and 11pm respectively) in the tikv nodes' local timezone. ``` [raftstore] full-compact-tick-interval = "1h" full-compact-restrict-hours-local-tz = [3, 23] ``` to address in in follow up PRs: * integration tests. * pausing/rate-limiting full compactions to avoid disrupting live traffic. Signed-off-by: Alex Feinberg <alex@strlen.net>
- Loading branch information
1 parent
629a0a9
commit 6a04b50
Showing
9 changed files
with
92 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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