You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by "FluffySkyCat (via GitHub)" <gi...@apache.org> on 2026/03/23 19:04:10 UTC
[PR] GH-1290. Fix barrier bypass in DistributedDoubleBarrier due to spurious wakeups or SyncConnected events [curator]
FluffySkyCat opened a new pull request, #1291:
URL: https://github.com/apache/curator/pull/1291
Fixes [GH-1290](https://github.com/apache/curator/issues/1290).
Replace the do { ... } while (false) in internalEnter() with a while (true) loop that re-checks the ZooKeeper children count after every wakeup. This ensures the barrier condition is always verified before returning.
Also removes the hasBeenNotified flag as redundant now that the check is performed in the while loop.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@curator.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-1290. Fix barrier bypass in DistributedDoubleBarrier due to spurious wakeups or SyncConnected events [curator]
Posted by "kezhuw (via GitHub)" <gi...@apache.org>.
kezhuw merged PR #1291:
URL: https://github.com/apache/curator/pull/1291
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@curator.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-1290. Fix barrier bypass in DistributedDoubleBarrier due to spurious wakeups or SyncConnected events [curator]
Posted by "kezhuw (via GitHub)" <gi...@apache.org>.
kezhuw closed pull request #1291: GH-1290. Fix barrier bypass in DistributedDoubleBarrier due to spurious wakeups or SyncConnected events
URL: https://github.com/apache/curator/pull/1291
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@curator.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org