Skip to content

Commit

Permalink
[fix][meta] Adding the missed bookie id in the registration manager. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao committed Jun 29, 2023
1 parent 8d7b633 commit 37ae858
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void registerBookie(BookieId bookieId, boolean readOnly, BookieServiceInf
if (readOnly) {
ResourceLock<BookieServiceInfo> rwRegistration = bookieRegistration.remove(bookieId);
if (rwRegistration != null) {
log.info("Bookie {} was already registered as writable, unregistering");
log.info("Bookie {} was already registered as writable, unregistering", bookieId);
rwRegistration.release().get();
}

Expand All @@ -144,7 +144,7 @@ public void registerBookie(BookieId bookieId, boolean readOnly, BookieServiceInf
} else {
ResourceLock<BookieServiceInfo> roRegistration = bookieRegistrationReadOnly.remove(bookieId);
if (roRegistration != null) {
log.info("Bookie {} was already registered as read-only, unregistering");
log.info("Bookie {} was already registered as read-only, unregistering", bookieId);
roRegistration.release().get();
}

Expand Down

0 comments on commit 37ae858

Please sign in to comment.