lhotari commented on PR #25679: URL: https://github.com/apache/pulsar/pull/25679#issuecomment-4383055518
> The root cause is a race condition in `MessageDeduplication.takeSnapshot`. When multiple snapshot requests occur concurrently, the current implementation uses a `compareAndSet` guard to allow only one active snapshot. If another request arrives while a snapshot is already in progress, the method immediately returns a completed future, effectively dropping the new request. The title of the PR should reflect that this is a production code change, not a fix to a flaky test. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
