We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3550c3 commit abb7ec5Copy full SHA for abb7ec5
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerOpenOp.java
@@ -232,7 +232,7 @@ private void openWithMetadata(Versioned<LedgerMetadata> versionedMetadata) {
232
public void safeOperationComplete(int rc, Void result) {
233
if (rc == BKException.Code.OK) {
234
openComplete(BKException.Code.OK, lh);
235
- if (needRecovery && keepUpdateMetadata) {
+ if (!watchImmediately && keepUpdateMetadata) {
236
lh.registerLedgerMetadataListener();
237
}
238
} else {
0 commit comments