fix: Shard WAL consumer for higher throughput

Entire-Checkpoint: e583b7b11439
This commit is contained in:
2026-03-18 06:32:14 +01:00
parent 50aed595cf
commit bf1a8a174e
3 changed files with 269 additions and 135 deletions

View File

@@ -277,7 +277,9 @@ func Shutdown() {
}
if Keys.Checkpoints.FileFormat == "wal" {
close(WALMessages)
for _, ch := range walShardChs {
close(ch)
}
}
cclog.Infof("[METRICSTORE]> Writing to '%s'...\n", Keys.Checkpoints.RootDir)