-
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
[improve][broker][PIP-149]make setPersistence method async in Namespaces #17421
Conversation
/pulsarbot run-failure-checks |
return null; | ||
}); | ||
}) | ||
.thenCompose(__ -> doUpdatePersistenceAsync(null)); |
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.
doUpdatePersistenceAsync(null)
-> doUpdatePersistenceAsync(persistence)
.thenCompose(__ -> { | ||
return CompletableFuture.supplyAsync(() -> { | ||
validatePersistencePolicies(persistence); | ||
return null; | ||
}); | ||
}) |
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.
I think we should remove this code block from line1566 to line1571
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.
@AnonHxy PTAL
6a18cc3
to
7a0dd10
Compare
/pulsarbot run-failure-checks |
Please fix the CI |
7a0dd10
to
ea2a3cd
Compare
/pulsarbot run-failure-checks |
Please fix the check style issue. |
ea2a3cd
to
f28d865
Compare
|
/pulsarbot run-failure-checks |
f28d865
to
be247b6
Compare
Motivation
See #14365
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-not-needed