Skip to content

Add support for "Expunge" messages #8874

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

Open
wants to merge 2 commits into
base: tqdb
Choose a base branch
from
Open

Add support for "Expunge" messages #8874

wants to merge 2 commits into from

Conversation

andrewjstone
Copy link
Contributor

@andrewjstone andrewjstone commented Aug 20, 2025

When a node requests a share for an old configuration it will receive
an Expunged message if the share request receiving node has a later
committed configuration where the node is not a member. When the
Expunged message is receieved, the expunged node persists this fact
and stops replying to peer messages.

We also fix a bug in the test where nexus wasn't actually committing
configurations at all.

So far invariants really slow the test down. On my machine checking the
invariants after every applied event makes the test take ~120s. Without
invariant checking, it takes about 14s.

I definitely want to add more invariants for correctness, but maybe not
check them when they aren't applicable. Some may become postconditions
on certain events instead.

@andrewjstone
Copy link
Contributor Author

This PR builds on #8801

When a node requests a share for an old configuration it will receive
an `Expunged` message if the share request receiving node has a later
committed configuration where the node is not a member. When the
`Expunged` message is receieved, the expunged node persists this fact
and stops replying to peer messages.

We also fix a bug in the test where nexus wasn't actually committing
configurations at all.

So far invariants really slow the test down. On my machine checking the
invariants after every applied event makes the test take ~120s. Without
invariant checking, it takes about 14s.

I definitely want to add more invariants for correctness, but maybe not
check them when they aren't applicable. Some may become postconditions
on certain events instead.
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.

1 participant