Repository navigation
fix(id): drop ready copy when key arrives (#4730) - #5200
Conversation
WaitingPool::arrived dropped only the held copy of the key it was told about. When the event was still in the ready queue (inserted with all deps already arrived, or with no deps) that copy survived, so take_ready handed the already-applied event out a second time. The ready queue kept only keys (ready_keys) and handed out bare events, so an arrival could not find its copy. Store (key, event) pairs and drop the matching pair in arrived; other ready events keep insert order. The property-test model is updated to the same rule, and regression tests cover both insert forms plus cross-key ordering.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 54 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Stale-PR warden: no activity for 2 days. Resolution task: #6564 — this PR should be merged, fixed, or closed. |
Summary
arrived()can remove only the already-applied copy.waiting_properties.This is the #4730 arrived/ready-state change only. It does not duplicate #3911’s separate
restore()guard or proof-park changes.Fixes #4730
Verification
id-corewaiting unit tests,waiting_properties, andevent_store::waiting_rows.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.