Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set MaxBytes for AckQueue #1963

Merged
merged 9 commits into from
Sep 13, 2024
Merged

Conversation

feywind
Copy link
Collaborator

@feywind feywind commented Sep 6, 2024

This PR supersedes this one: #1897
Thanks to @dermasmid for getting that started; I'm starting a new one to have write access for changes and CI.

This implements a fix to keep ack/modack batches under a size that the server can handle.

Fixes #1864

@feywind feywind requested review from a team as code owners September 6, 2024 20:16
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: pubsub Issues related to the googleapis/nodejs-pubsub API. labels Sep 6, 2024
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 6, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 6, 2024
@@ -99,36 +99,6 @@ class ModAckQueue extends messageTypes.ModAckQueue {
}
}

// This discount polyfill for Promise.allSettled can be removed after we drop Node 12.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This and the related changes below are just cleanup I did while in here.

src/message-queues.ts Outdated Show resolved Hide resolved
@feywind
Copy link
Collaborator Author

feywind commented Sep 11, 2024

More info about the semver thing over here: googleapis/nodejs-bigquery-storage#475

@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 11, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 11, 2024
@feywind feywind added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 12, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 12, 2024
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 12, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 12, 2024
@feywind feywind merged commit 5945563 into googleapis:main Sep 13, 2024
15 checks passed
@feywind feywind deleted the gh1897-maxbytes branch September 13, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/nodejs-pubsub API. size: m Pull request size is medium.
Projects
None yet
4 participants