Skip to content
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

Gossmap crash fix #7330

Merged

Conversation

rustyrussell
Copy link
Contributor

#7249

Can't see how this is happening on a fresh gossip store, but avoid crashing if it does, and put in more sanity checks in the only place I can see that we might do this.

@rustyrussell rustyrussell added this to the v24.05 milestone May 23, 2024
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

Is it possible that we have another crash for the gossip map? e.g: #7320

BTW except of the grpc python files we are good to go for me

contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py Outdated Show resolved Hide resolved
…nt messages.

We only write these in two places: one where we get a message from lightningd about
our own channel, and one where we get a reply from lightningd about a txout check.

The former case we explicitly check that we don't already have it in gossmap, so
add checks to the latter case, and give verbose detail if it's found.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This seems to be happening to some people, so don't panic.  Unfortunately we don't have
a good error callback here, so msg to stderr.

Fixes: ElementsProject#7249
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@endothermicdev
Copy link
Collaborator

Looks reasonable - I hope we get some more insight from this. Removed the protobuf diff that was failing check-gen-updated.
ACK 6736f6e

@vincenzopalazzo vincenzopalazzo enabled auto-merge (rebase) May 23, 2024 17:50
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ACK 6736f6e

@vincenzopalazzo vincenzopalazzo merged commit 6b91497 into ElementsProject:master May 23, 2024
34 of 35 checks passed
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.

3 participants