-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[broker] Do not log stacktrace for 'Failed to flush mark-delete position' case #17432
[broker] Do not log stacktrace for 'Failed to flush mark-delete position' case #17432
Conversation
@eolivelli Please provide a correct documentation label for your PR. |
@eolivelli Checking for IllegalArgumentException in some logic, should we fix all of them? e.g. pulsar/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java Lines 1559 to 1577 in 46b1239
Also, should new exception extend ManagedLedgerException? e.g.
|
|
5e5d791
to
07ee9f0
Compare
…ion' case (apache#17432) (cherry picked from commit 5a87c47)
Motivation
It is very common, under load, to see this stack trace, this is very annoying and it is scary for system administrator.
Modifications
This is a simple fix that detects that case and does not print the full stacktrace.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
doc-not-needed