Background Services Coordination of periodic background workers that maintain storage health, enforce replication, and persist counters. Hover over any component for implementation details.
Legend Color Meaning Forest green Scheduler / entry point Amber Adaptive-interval service Teal Fixed-interval background worker Teal Shared storage (PostgreSQL / S3) Gray Cleanup / retry queue
Service Summary Service Interval Advisory Lock ID Key Function Replicator 5 min (configurable) 1002 Replicator.Replicate()Rebalancer 6 hrs (configurable) 1001 Rebalancer.Rebalance()Over-Replication Cleaner 5 min (configurable) 1008 OverReplicationCleaner.Clean()Lifecycle Expiration 1 hr 1005 ProcessLifecycleRules()Multipart Cleanup 1 hr 1004 CleanupStaleMultipartUploads()Usage Flusher 30s (adaptive) 1007 (Redis only) FlushUsage()Cleanup Queue Worker 1 min 1003 ProcessCleanupQueue()Pending Reaper 1 min (configurable) none (per-row claim) PendingReaper.Reap()