You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/05/05 07:41:27 UTC

[GitHub] [hbase] Reidddddd commented on a change in pull request #1654: HBASE-24311 Add more details in MultiVersionConcurrencyControl STUCK …

Reidddddd commented on a change in pull request #1654:
URL: https://github.com/apache/hbase/pull/1654#discussion_r419919163



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.java
##########
@@ -225,11 +233,12 @@ void waitForRead(WriteEntry e) {
     synchronized (readWaiters) {
       while (readPoint.get() < e.getWriteNumber()) {
         if (count % 100 == 0 && count > 0) {
-          LOG.warn("STUCK: " + this);
+          long totalWaitTillNow = READPOINT_ADVANCE_WAIT_TIME * count;
+          LOG.warn("STUCK for : " + totalWaitTillNow + " millis. " + this);

Review comment:
       Shall we use para{} log style?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org