Skip to content

When MRW scan returns a negative pong, abort don't assert #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025

Conversation

karalekas
Copy link
Member

@karalekas karalekas commented Jun 23, 2025

The standard supervisor reaction to a negative pong is to CHECK-PONG it. We could do that instead here, but aborting is also fine as long as the pong is truly based off of stale information.

Also does some logging work related to dtqec/aether#49

@@ -125,12 +125,22 @@ After collecting the `HOLD-CLUSTER', we then `CHECK-PRIORITY' to determine if we
:message-unpacker identity)
(send-message-batch #'payload-constructor roots)
(loop :for reply :in replies :unless (null reply)
:do (assert (not (minusp (message-pong-weight reply))))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, we could be stale at any moment, including this one.

@karalekas karalekas merged commit 9782e93 into main Jun 24, 2025
1 check passed
@karalekas karalekas deleted the abort-mrw-neg-pong branch June 24, 2025 00:15
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.

2 participants