Skip to content

[ISSUE #73] Bound cached allocation identities and segment panels - #74

Merged
mxsm merged 1 commit into
developfrom
mxsm/fix-16-bounded-panels
Nov 28, 2026
Merged

mxsm merged 1 commit into
developfrom
mxsm/fix-16-bounded-panels

Conversation

@mxsm

@mxsm mxsm commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Closes #73

Step 16. Bound each generator's panels and aliases independently, configurable for both the SDK and service. Keep calls already using a retired panel valid, drop late completions on their original panel, and always reserve fresh ranges when a key returns. Expose capacity, resident counts, evictions and discarded segments.

Validation

JDK 25 full clean verify passed, MySQL 8.4.13 14/14 and PostgreSQL 18.7 13/13. At capacity four, 100 names with two aliases returned 200 distinct IDs and retained four aliases and four panels (96 panel and 196 alias evictions). A barrier interleaved removal, same-key recreation, an outstanding old request and a late callback. Only the old request consumed its old range; the recreated panel kept its own sequence and the late segment counted as discarded.

@mxsm
mxsm merged commit 43d4f12 into develop Nov 28, 2026
1 check passed
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.

[Plan 16] Bound cached allocation identities and segment panels

1 participant