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

Synchronize view change and retransmit task #761

Closed
wants to merge 1 commit into from

Conversation

wburns
Copy link
Collaborator

@wburns wburns commented Jan 16, 2024

https://issues.redhat.com/browse/JGRP-2749

Note, I am not a fan of this way to fix, but there really needs to be some exclusion between these operations to not have dangling data around. To be honest looking at this class there are a lot of places that are referencing mutable collections that appear to be reachable from multiple threads, so I fear this won't fix other possible causes of CME that could happen.

For example another possible CME is if there is an UP event that removes an entry from the recv_table but we are sending a xmit task that is currently iterating upon it.

@belaban let me know how you want to proceed

@belaban
Copy link
Owner

belaban commented Jan 16, 2024

Hi Will
I'll take a look. thanks

@belaban
Copy link
Owner

belaban commented Jan 23, 2024

Which scenario are you looking at? Receiving+adding a message in ReceiverEntry.received_msgs, and removing it at the same time? This should not be a problem, as Table is synchronized...

@belaban
Copy link
Owner

belaban commented Jan 29, 2024

Fixed this by changing MessageCache

@belaban belaban closed this Jan 29, 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.

2 participants