-
Notifications
You must be signed in to change notification settings - Fork 552
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
admin: map replicated_entry_truncated error to 503 http error code #8494
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should map this error to 503 http error code
please describe what the problem is (e.g. why was a test failing), and why this is the correct solution.
When leader changed while request is replicating, entry can be truncated This is known raft situation when we get new leader while previous is trying to replicate log It should be classificated same as leadership_transfer_in_progress We should map this error to 503 http error code
I have added more detailed description in commit message. |
Thanks for updating the commit message @ZeDRoman ! |
/backport v22.3.x |
@ztlpn , should this be backported to other branches as well? |
1 similar comment
@ztlpn , should this be backported to other branches as well? |
When leader changed while request is replicating, entry can be truncated
We should map this error to 503 http error code
Fixes #8069
Backports Required
UX Changes
Release Notes
Bug Fixes