-
Notifications
You must be signed in to change notification settings - Fork 577
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
rpc/simple_protocol: disambiguate condition variable timeout exception #6224
Conversation
When `ss::condition_variable_timeout_exception` is thrown from service handler it should not be treated as generic error but result in timeout being returned to the client. Fixes: redpanda-data#6201 Signed-off-by: Michal Maslanka <michal@redpanda.com>
This is a good back stop to avoid seeing these errors, but I wonder if it hides underlying bugs. #5461 was actually an improperly handled exception. I think the end behavior with this patch vs with proper handling would be the same (a timeout error), so maybe it's okay. Regardless, from the logs in the linked issues, the error was logged before upgrading, so I think we will have to add the message to |
Do you mean the previous version allowed log ? |
Yeah, I think this error is coming from an older version, so This seems to be a creeping pattern, that log error messages that have been fixed will continue to show up in upgrade tests. I'm not sure what a good policy is to address this long term. So far we've been patching by including to the allowed logs list. Maybe we should just collect bad log messages in some global |
Signed-off-by: Michal Maslanka <michal@redpanda.com>
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.
lgtm
Cover letter
When
ss::condition_variable_timeout_exception
is thrown from servicehandler it should not be treated as generic error but result in timeout
being returned to the client.
Fixes: #6201
Fixes #ISSUE-NUMBER, Fixes #ISSUE-NUMBER, ...
Backport Required
UX changes
Describe in plain language how this PR affects an end-user. What topic flags, configuration flags, command line flags, deprecation policies etc are added/changed.
Release notes