Skip to content

Commit

Permalink
HADOOP-18851: Perfm improvement for ZKDT management-CodeStyle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vikaskr22 committed Sep 13, 2023
1 parent ab7a3a6 commit d5eded8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ protected int incrementDelegationTokenSeqNum() {
try {
// after a successful batch request, we can get the range starting point
currentSeqNum = incrSharedCount(delTokSeqCounter, seqNumBatchSize);
currentMaxSeqNum = currentSeqNum + seqNumBatchSize ;
currentMaxSeqNum = currentSeqNum + seqNumBatchSize;
LOG.info("Fetched new range of seq num, from {} to {} ",
currentSeqNum+1, currentMaxSeqNum);
} catch (InterruptedException e) {
Expand All @@ -542,8 +542,8 @@ protected int incrementDelegationTokenSeqNum() {
}
return ++currentSeqNum;
} finally {
this.currentSeqNumLock.unlock();
}
this.currentSeqNumLock.unlock();
}
}

@Override
Expand Down

0 comments on commit d5eded8

Please sign in to comment.