bvolpato commented on PR #39737: URL: https://github.com/apache/beam/pull/39737#issuecomment-5275196300
Is delayed visibility acceptable here? With concurrent producers, one can pause after `queue.add()` but before `availableItems.release()`. Another producer can enqueue and release, allowing consumer to dequeue first item using second permit and leaving second item unavailable until first producer resumes. Does commit queue require each completed `put()` to become immediately consumable? -- 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]
