deniskuzZ commented on code in PR #6142:
URL: https://github.com/apache/hive/pull/6142#discussion_r2444201875


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/leader/LeaseLeaderElection.java:
##########
@@ -178,23 +186,22 @@ public void tryBeLeader(Configuration conf, TableName 
table) throws LeaderExcept
         LockResponse res = store.lock(req);
         if (res.getState() == LockState.WAITING || res.getState() == 
LockState.ACQUIRED) {
           lockable = true;
+          LOG.info("{} Spent {}ms to take part in election, retries: {}", 
getName(), System.currentTimeMillis() - start, i);

Review Comment:
   same



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to