You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@omid.apache.org by ja...@apache.org on 2018/10/17 06:20:39 UTC

incubator-omid git commit: OMID-117 Addendum that dials down read timeouts to a single try

Repository: incubator-omid
Updated Branches:
  refs/heads/phoenix-integration a40b6f8ea -> 07a3a640e


OMID-117 Addendum that dials down read timeouts to a single try


Project: http://git-wip-us.apache.org/repos/asf/incubator-omid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-omid/commit/07a3a640
Tree: http://git-wip-us.apache.org/repos/asf/incubator-omid/tree/07a3a640
Diff: http://git-wip-us.apache.org/repos/asf/incubator-omid/diff/07a3a640

Branch: refs/heads/phoenix-integration
Commit: 07a3a640e89c8702964fca07ae58c750d2c4c730
Parents: a40b6f8
Author: James Taylor <ja...@apache.org>
Authored: Tue Oct 16 16:59:53 2018 -0700
Committer: James Taylor <ja...@apache.org>
Committed: Tue Oct 16 16:59:53 2018 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/regionserver/RegionConnectionFactory.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/07a3a640/hbase-coprocessor/src/main/java/org/apache/hadoop/hbase/regionserver/RegionConnectionFactory.java
----------------------------------------------------------------------
diff --git a/hbase-coprocessor/src/main/java/org/apache/hadoop/hbase/regionserver/RegionConnectionFactory.java b/hbase-coprocessor/src/main/java/org/apache/hadoop/hbase/regionserver/RegionConnectionFactory.java
index 7a7485c..be7c8c9 100644
--- a/hbase-coprocessor/src/main/java/org/apache/hadoop/hbase/regionserver/RegionConnectionFactory.java
+++ b/hbase-coprocessor/src/main/java/org/apache/hadoop/hbase/regionserver/RegionConnectionFactory.java
@@ -52,7 +52,7 @@ public class RegionConnectionFactory {
     // client side. In testing, we've seen NoServerForRegionException occur which
     // is a DoNotRetryIOException which are not retried on the client. It's not
     // clear if this is a real issue or a test-only issue.
-    private static final int DEFAULT_COMMIT_TABLE_ACCESS_ON_READ_RETRIES_NUMBER = 11;
+    private static final int DEFAULT_COMMIT_TABLE_ACCESS_ON_READ_RETRIES_NUMBER = HBaseShims.getNoRetriesNumber() + 1;
     private static final int DEFAULT_COMMIT_TABLE_ACCESS_ON_READ_RETRY_PAUSE = 100;
 
     private RegionConnectionFactory() {