Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

When we hit lnd bug 6039, we end up sending error messages to peers in a loop. This should be fine, but because we used the generic PersistenceNotifierGuard::notify_on_drop lock above the specific handling, we end up writing ChannelManager every time we manage a round-trip to our peer.

This can add up quite quickly, and isn't actually changing, so we really need to avoid writing the ChannelManager in this case.

When we hit lnd bug 6039, we end up sending error messages to peers
in a loop. This should be fine, but because we used the generic
`PersistenceNotifierGuard::notify_on_drop` lock above the specific
handling, we end up writing `ChannelManager` every time we manage a
round-trip to our peer.

This can add up quite quickly, and isn't actually changing, so we
really need to avoid writing the `ChannelManager` in this case.
@TheBlueMatt TheBlueMatt force-pushed the 2024-03-no-wake-on-shutdown-121 branch from a0228bd to 673a409 Compare March 14, 2024 20:08
@TheBlueMatt
Copy link
Collaborator Author

Identical to #2937, rebased.

@TheBlueMatt TheBlueMatt merged commit 7456896 into lightningdevkit:0.0.121-bindings Mar 14, 2024
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