文件
AiXun-DataGov/aixun-common/aixun-common-maintenance
2026-11-20 15:32:57 +08:00
..
2026-11-20 15:32:57 +08:00
2026-11-20 15:32:57 +08:00
2026-11-20 15:32:57 +08:00

DataGov internal maintenance foundation

Owner: platform architecture Owner.

This is a reusable library, not a fifth service and not a scheduler console. Consumers explicitly assemble a SpringMaintenanceTrigger, a code-defined maintenance task, and JdbcMaintenanceLeaseRepository. Scheduling is disabled by default (-).

Allowed job kinds are status reconciliation, connection health, projection refresh, retention cleanup, and in-app alert generation. Data DAG submission or orchestration is outside this module and remains the future DolphinScheduler boundary.

Every run has a stable idempotency key, maximum execution time, lease duration, safe outcome, and optional manual-compensation actor/reason. A timed-out task keeps its lease until expiry so an interrupt-ignoring worker cannot overlap with an immediate retry.