sunhelly commented on code in PR #5258:
URL: https://github.com/apache/hbase/pull/5258#discussion_r1211412576
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java:
##########
@@ -1008,9 +1008,11 @@ private RegionLocations locateRegionInMeta(TableName
tableName, byte[] row, bool
}
// Query the meta region
long pauseBase = connectionConfig.getPauseMillis();
- takeUserRegionLock();
final long lockStartTime = EnvironmentEdgeManager.currentTime();
Review Comment:
We use the lockStartTime here to mark the beginning of taking lock, not the
timestamp when take the lock successfully. It is used to update the lock
waiting time metrics. So we should mark start time here.
--
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]