Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Set timeout to infinite for publishing with ordering keys enabled#1134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mukund-ananthu merged 1 commit intomainfrominfiniteRetryOrderingEnabled
Apr 4, 2024

Conversation

@mukund-ananthu
Copy link
Contributor

@mukund-ananthumukund-ananthu commentedApr 3, 2024
edited
Loading

  1. Setting timeout to be infinite when publishing with ordering keys enabled.
  2. This is required to retry infinitely when the client library receives retriable error codes from the backend.
  3. Note that there is another testtest_publish_with_ordering_key_with_no_retry that currently does not test the retry behavior or settings because the kwargs forcommit_retry would beNone andcommit_timeout would be_MethodDefault._DEFAULT_VALUE when no retries are specified. This test will be improved in a subsequent PR.

Fixes#1084 🦕

@mukund-ananthumukund-ananthu requested review froma team ascode ownersApril 3, 2024 18:12
@product-auto-labelproduct-auto-labelbot added size: xsPull request size is extra small. api: pubsubIssues related to the googleapis/python-pubsub API. labelsApr 3, 2024
@mukund-ananthumukund-ananthuforce-pushed theinfiniteRetryOrderingEnabled branch fromf8c5928 to302eb45CompareApril 3, 2024 18:20
@mukund-ananthumukund-ananthu self-assigned thisApr 3, 2024
@mukund-ananthumukund-ananthu changed the titleSet timeout to infinite for publishing with ordering keys enabledfix: Set timeout to infinite for publishing with ordering keys enabledApr 3, 2024
@mukund-ananthumukund-ananthuforce-pushed theinfiniteRetryOrderingEnabled branch frombc3ce2d toa926ad1CompareApril 3, 2024 19:19
@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcfbot commentedApr 3, 2024
edited
Loading

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or useautomerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@mukund-ananthumukund-ananthuforce-pushed theinfiniteRetryOrderingEnabled branch froma926ad1 to80542efCompareApril 3, 2024 19:21
@mukund-ananthumukund-ananthu added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelApr 3, 2024
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelApr 3, 2024
@mukund-ananthumukund-ananthuforce-pushed theinfiniteRetryOrderingEnabled branch from80542ef to2dfdce7CompareApril 3, 2024 19:32
@mukund-ananthumukund-ananthuforce-pushed theinfiniteRetryOrderingEnabled branch from2dfdce7 to43b0412CompareApril 4, 2024 00:56
@mukund-ananthumukund-ananthuenabled auto-merge (squash)April 4, 2024 01:02
@mukund-ananthumukund-ananthu added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelApr 4, 2024
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelApr 4, 2024
@mukund-ananthumukund-ananthu added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelApr 4, 2024
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelApr 4, 2024
@mukund-ananthumukund-ananthu merged commit67daf3c intomainApr 4, 2024
@mukund-ananthumukund-ananthu deleted the infiniteRetryOrderingEnabled branchApril 4, 2024 03:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@pradnpradnpradn approved these changes

@kamalaboulhosnkamalaboulhosnAwaiting requested review from kamalaboulhosn

Assignees

@mukund-ananthumukund-ananthu

Labels

api: pubsubIssues related to the googleapis/python-pubsub API.size: xsPull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Publishing sometimes fails when ordering key is enabled

3 participants

@mukund-ananthu@pradn@yoshi-kokoro

[8]ページ先頭

©2009-2025 Movatter.jp