Repository navigation
[ISSUE #73] Bound cached allocation identities and segment panels - #74
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.