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

Fix FluxReplay cancel and subscribe race between two Subscribers #3707

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

OlegDokuka
Copy link
Contributor

This PR ensures that in case of racing between multiple subscribers we ensure that the potential outdated FluxReplay.connection which one of the subscribers can join while creating a different connection instance at the level FluxRefCnt is not causing a new FluxReplay.connection to be prematurely closed up on the previous connection instance replay all the values

@OlegDokuka OlegDokuka requested a review from a team as a code owner January 30, 2024 09:15
Signed-off-by: Oleh Dokuka <odokuka@vmware.com>
@chemicL chemicL added the type/bug A general bug label Jun 20, 2024
@chemicL chemicL added this to the 3.4.40 milestone Jun 20, 2024
@chemicL chemicL changed the title ensures volatile connection is reset prior subscription cancellation Fix FluxReplay cancel and subscribe race between two Subscribers Jun 21, 2024
@chemicL chemicL merged commit b4a31a5 into 3.4.x Jun 21, 2024
6 checks passed
@chemicL chemicL deleted the 3.4.x-fix-3639 branch June 21, 2024 07:21
chemicL added a commit that referenced this pull request Jun 21, 2024
chemicL added a commit that referenced this pull request Jun 21, 2024
chemicL added a commit that referenced this pull request Jun 21, 2024
chemicL added a commit that referenced this pull request Jul 8, 2024
chemicL added a commit that referenced this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate flaky FluxRefCountGraceTest > raceSubscribeAndCancelNoTimeout raceTest
2 participants