spfresh-maintainer

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Command spfresh-maintainer is the reference SPFresh maintenance worker (RFC-156 §3.2). SPFresh maintenance is caller-driven; this is the thin, runnable wrapper around recordlayer.RunSPFreshMaintenance that a deployment can run standalone or copy as a starting point.

It opens an FDB database, builds the tenant list (the ONE part every deployment must supply — store layout is application keyspace, see discoverTenants below), wires a StoreTimer for metrics, and runs the sweep+refine loop until SIGINT/SIGTERM.

spfresh-maintainer -cluster-file /etc/foundationdb/fdb.cluster \
  -sweep-interval 10s -refine-interval 5m -metrics-interval 30s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL