Skip to content

Conversation

feywind
Copy link
Collaborator

@feywind feywind commented Jun 8, 2023

This just allows correct clean-up behaviour if OrderedQueue.publish() gets called more than once. This shouldn't usually happen, but it seems like the easiest fix for the race condition mentioned in the issue.

Fixes: #1746

@feywind feywind requested review from a team as code owners June 8, 2023 17:20
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: pubsub Issues related to the googleapis/nodejs-pubsub API. labels Jun 8, 2023
@feywind feywind added owlbot:run Add this label to trigger the Owlbot post processor. and removed api: pubsub Issues related to the googleapis/nodejs-pubsub API. labels Jun 8, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 8, 2023
@feywind feywind merged commit 52ea441 into googleapis:main Jun 8, 2023
@feywind feywind deleted the topic-flush-rc branch June 8, 2023 21:18
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible race condition between Topic.flush and OrderedQueue.publish
2 participants