Skip to content

Commit

Permalink
YARN-11350. Fix CheckStyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
slfan1989 committed Nov 15, 2022
1 parent 14ce609 commit 3b2b62f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1477,12 +1477,13 @@ private RouterStoreToken getStoreTokenFromZK(String nodePath, boolean quiet)
* To ensure data consistency, we will use the synchronized keyword.
*
* For ZookeeperFederationStateStore, in order to reduce the interaction with ZK,
* we will apply for SequenceNum from ZK in batches(Apply when currentSeqNum >= currentMaxSeqNum),
* we will apply for SequenceNum from ZK in batches(Apply
* when currentSeqNum >= currentMaxSeqNum),
* and assign this value to the variable currentMaxSeqNum.
*
* When calling the method incrementDelegationTokenSeqNum,
* if currentSeqNum < currentMaxSeqNum, we return ++currentMaxSeqNum,
* When currentSeqNum >= currentMaxSeqNum, we re-apply SequenceNum from zk.
* if currentSeqNum &lt; currentMaxSeqNum, we return ++currentMaxSeqNum,
* When currentSeqNum &gt;= currentMaxSeqNum, we re-apply SequenceNum from zk.
*
* @return SequenceNum.
*/
Expand Down

0 comments on commit 3b2b62f

Please sign in to comment.