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

expose 409 errors for other causes beyond timestamp conflicts #35

Merged
merged 1 commit into from
May 10, 2024

Conversation

jnyi
Copy link
Collaborator

@jnyi jnyi commented May 8, 2024

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

Signed-off-by: Yi Jin <[email protected]>
@jnyi jnyi changed the title expose 429 errors expose 429 errors for other causes beyond timestamp conflicts May 8, 2024
@jnyi jnyi requested review from hczhu-db and yuchen-db May 9, 2024 06:02
@jnyi jnyi merged commit 74c2326 into databricks:db_main May 10, 2024
12 checks passed
@jnyi jnyi changed the title expose 429 errors for other causes beyond timestamp conflicts expose 409 errors for other causes beyond timestamp conflicts May 10, 2024
@@ -1240,11 +1240,6 @@ func (p *peerWorker) RemoteWriteAsync(ctx context.Context, req *storepb.WriteReq

tracing.DoInSpan(ctx, "receive_forward", func(ctx context.Context) {
_, err := storepb.NewWriteableStoreClient(p.cc).RemoteWrite(ctx, req)
if isConflict(err) && p.wp.Size() > 1 {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we can't simply shallow this error code due to other error causes, expose it for now, need to revisit this later.

@jnyi jnyi deleted the fix-429-err branch June 1, 2024 04:19
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.

2 participants