spec-6.3a: GRD/GES entry lifecycle safe reclaim#13
Merged
Conversation
f28a5eb to
2b828ec
Compare
Owner
Author
|
Follow-up note from spec-6.3a review, not a new blocker unless the merge owner chooses to tighten the bar before merge:
Current CI state when recorded: fast PR checks green and nightly run 28482149062 green at a92aa81. t/296 is included in the nightly 276-326 shard. |
Owner
Author
|
Final merge closure for spec-6.3a:
|
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.
Scope
Implements spec-6.3a GRD/GES resource-entry lifecycle management and safe cold reclaim.
ClusterGrdEntryand requires every successful lookup to release exactly once.pin == 0, with holder/waiter/convert/reservation andRECLAIMINGrechecks.PG_TRYcleanup soERRORcannot leak a GRD entry pin.pg_cluster_statecounters: entries reclaimed, pinned skips, pin high-water, sweep runs.Tests
Local macOS validation for head
a92aa81877:git diff --check./scripts/ci/check-comment-headers.shmake -j8make -C src/test/cluster_unit check(135 binaries passed)src/test/cluster_unit/test_cluster_grd(80 tests passed)src/test/cluster_unit/test_cluster_grd_starvation(23 tests passed)make -C src/test/cluster_tap check PROVE_TESTS='t/104_grd_entry_shmem_alloc_smoke.pl t/296_grd_entry_lifecycle_reclaim_2node.pl'(22 TAP tests passed)Additional coverage added:
ERRORcleanup.cluster.grd_max_entries = 32, 48 distinct resources, bounded empty GRD views, reclaim counter increase, and no entry FULL counter growth.GitHub status:
a92aa81877: run28481126782.a92aa81877: workflow_dispatch run28482149062.Local notes:
make headerscheckis blocked in this local macOS environment by missing Python/Perl/LLVM development headers plus existing full-tree header issues outside this PR surface.pg_proc.dattuple content is unchanged.Risk Boundaries
Review Fixes Addressed
F/T/RERROR cleanup classification and added a real pinned LMDERRORinjection unit test.cluster.grd_entry_reclaim_max_per_sweep.SpinLockInit()on slot reuse.