Partition Maintenance
What This Service Is For
History maintenance prepares monthly storage ahead of writes and retires expired months through registered archive behavior.
Boundary
The module owns maintenance execution without taking ownership of the history records. Product-area assignment keeps this concern here until its home is decided.
Operations in Words
The module exposes no HTTP operation or Submissions binding. Scheduled and deployment maintenance call its functions directly.
Events and Jobs
The schema-owner function runs daily maintenance and a deployment-time creation-only pass. Failed table metrics and successful-run heartbeat support operational alarms.
Consistency Guarantees
Each table has an independent pass. Archive failure preserves detached data, while successful work in other tables remains. Scheduling alone does not establish a global lock against deployment maintenance.