Skip to content

Conversation

rekby
Copy link
Member

@rekby rekby commented Jun 8, 2023

…waiters (commit_with_ack)

Close #301

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Fixed race condition between re-create low level stream reader and add waiters in commit_with_ack in topic reader client.

try:
await self._stream_reader.close()
except BaseException:
# supress any error on close stream reader
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rekby rekby merged commit 576a16b into main Jun 9, 2023
@rekby rekby deleted the 301-close-reader-stream-before-create-new branch June 9, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: close ReaderStream before creating new one
2 participants