Skip to content

Warn about low sequence and AUTO_INCREMENT headroom in scheduled captures - #31

Merged
cristipufu merged 1 commit into
mainfrom
feat/allocator-headroom-incidents
Dec 1, 2026
Merged

cristipufu merged 1 commit into
mainfrom
feat/allocator-headroom-incidents

Conversation

@cristipufu

Copy link
Copy Markdown
Collaborator

Scheduled sequence captures can now open a capacity incident before the last native increment. The scan and incident controller use the same integer arithmetic. The incident opens when at most 10,000 increments remain in the final tenth of the effective range.

PostgreSQL validates the noncycling sequence and its signed high-water mark. MySQL and MariaDB validate the column identity, type bound, reported next value and captured global increment. The original boundary representation still round-trips with zero steps left.

With PostgreSQL 18.6, MySQL 8.4 and MariaDB 11.8, a read-only fleet schedule captured two allocators per database. Each produced one warning with two steps remaining. After the sources were disconnected, local outbox verification and replay recovered the matching original capture and record IDs. Physical warehouse and packaged Studio replay remain open in the parity plan.

@cristipufu
cristipufu merged commit d38ba70 into main Dec 1, 2026
23 checks passed
@cristipufu
cristipufu deleted the feat/allocator-headroom-incidents branch December 1, 2026 09:36

This branch was previously deployed

1 inactive deployment
github-pages — d38ba709 Deployed Dec 1, 2026 by cristipufu via deploy #324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant