Skip to content

fix: Backlog never zero despite messages received#204

Merged
dpcollins-google merged 1 commit into
googleapis:masterfrom
tmdiep:fix_acktracker
Aug 3, 2021
Merged

fix: Backlog never zero despite messages received#204
dpcollins-google merged 1 commit into
googleapis:masterfrom
tmdiep:fix_acktracker

Conversation

@tmdiep
Copy link
Copy Markdown
Contributor

@tmdiep tmdiep commented Aug 2, 2021

Although all messages are received by the subscriber, there was always backlog and commits appeared to be delayed.

Fix: Since _receipts.popleft() is called, the receipt should be reinserted using _receipts.appendleft().

@tmdiep tmdiep requested review from a team and dpcollins-google August 2, 2021 10:44
@product-auto-label product-auto-label Bot added the api: pubsublite Issues related to the googleapis/python-pubsublite API. label Aug 2, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 2, 2021
@dpcollins-google dpcollins-google merged commit b93a0bf into googleapis:master Aug 3, 2021
@tmdiep tmdiep deleted the fix_acktracker branch August 3, 2021 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsublite Issues related to the googleapis/python-pubsublite API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants