Refactor metricstore. Initial stub for cluster/ subcluster specific retention times

This commit is contained in:
2026-01-13 09:52:00 +01:00
parent 2ebab1e2e2
commit 04a2e460ae
5 changed files with 203 additions and 27 deletions

View File

@@ -24,8 +24,10 @@ import (
"github.com/linkedin/goavro/v2"
)
var NumAvroWorkers int = DefaultAvroWorkers
var startUp bool = true
var (
NumAvroWorkers int = DefaultAvroWorkers
startUp bool = true
)
func (as *AvroStore) ToCheckpoint(dir string, dumpAll bool) (int, error) {
levels := make([]*AvroLevel, 0)