Skip to content

Commit

Permalink
resolved minor comments
Browse files Browse the repository at this point in the history
  • Loading branch information
heesung-sn committed Feb 22, 2023
1 parent 2fbafc9 commit 77209e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Defines the possible states for service units.
*
* Refer to Service Unit State Channel in https://github.com/apache/pulsar/issues/16691 for additional details.
* @see <a href="https://github.com/apache/pulsar/issues/16691"> Service Unit State Channel </a> for additional details.
*/
public enum ServiceUnitState {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ private void doCleanup(String broker) throws ExecutionException, InterruptedExce
log.info("Started ownership cleanup for the inactive broker:{}", broker);
int orphanServiceUnitCleanupCnt = 0;
long totalCleanupErrorCntStart = totalCleanupErrorCnt.get();
var availableBrokers = new HashSet(brokerRegistry.getAvailableBrokersAsync()
var availableBrokers = new HashSet<>(brokerRegistry.getAvailableBrokersAsync()
.get(inFlightStateWaitingTimeInMillis, MILLISECONDS));
for (var etr : tableview.entrySet()) {
var stateData = etr.getValue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ public void testSlowTableviewAfterCompaction() throws Exception {
// Stuck at handling Assigned
handledReleased.set(false);
semaphore.acquire();
//Thread.sleep(5000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 77209e7

Please sign in to comment.