Merge pull request #15113 from yeya24/add-missing-allow-overlapping-compaction-flag

Add missing flag storage.tsdb.allow-overlapping-compaction
This commit is contained in:
Julien 2024-10-07 11:17:24 +02:00 committed by GitHub
commit 9d8f93ea92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -384,6 +384,9 @@ func main() {
serverOnlyFlag(a, "storage.tsdb.no-lockfile", "Do not create lockfile in data directory.").
Default("false").BoolVar(&cfg.tsdb.NoLockfile)
serverOnlyFlag(a, "storage.tsdb.allow-overlapping-compaction", "Allow compaction of overlapping blocks. If set to false, TSDB stops vertical compaction and leaves overlapping blocks there. The use case is to let another component handle the compaction of overlapping blocks.").
Default("true").Hidden().BoolVar(&cfg.tsdb.EnableOverlappingCompaction)
serverOnlyFlag(a, "storage.tsdb.wal-compression", "Compress the tsdb WAL.").
Hidden().Default("true").BoolVar(&cfg.tsdb.WALCompression)