Skip to content

Added the quota exceeded error as retryable error during mergeflush - #482

Open
priyanshu-ctds wants to merge 1 commit into
confluentinc:masterfrom
priyanshu-ctds:ISSUE481
Open

Added the quota exceeded error as retryable error during mergeflush#482
priyanshu-ctds wants to merge 1 commit into
confluentinc:masterfrom
priyanshu-ctds:ISSUE481

Conversation

@priyanshu-ctds

Copy link
Copy Markdown

Fixes #481
When a quota exceeded error occurs during a merge flush, the current code rethrows it immediately without retrying, leaving the failed batch permanently in the internal batches map. This causes all subsequent flush attempts to block indefinitely inside prepareToFlush waiting for the stuck batch to be removed, making the connector silently stop delivering data even after the quota resets.
This PR adds quota exceeded as a retryable error in the merge flush retry logic alongside the existing serialize access and job internal errors. Configuring bigQueryRetry and bigQueryRetryWait such that the total retry window exceeds 24 hours allows the flush to succeed naturally once the quota resets, without any task failure or data loss.

@priyanshu-ctds
priyanshu-ctds requested a review from a team as a code owner June 9, 2026 03:44
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] Quota exceeded error during merge flush causes connector to silently stop delivering data

2 participants