You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@omid.apache.org by yo...@apache.org on 2018/12/03 13:46:27 UTC
[32/50] [abbrv] incubator-omid git commit: OMID-117 Addendum that
dials down read timeouts to a single try
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/65903977
Tree: http://git-wip-us.apache.org/repos/asf/incubator-omid/tree/65903977
Diff: http://git-wip-us.apache.org/repos/asf/incubator-omid/diff/65903977
Branch: refs/heads/master
Commit: 65903977b5655d202885004546ffa70dd35ce27d
Parents: 1fab82f
Author: James Taylor <ja...@apache.org>
Authored: Tue Oct 16 16:59:53 2018 -0700
Committer: Yonatan Gottesman <yo...@gmail.com>
Committed: Tue Nov 13 10:10:15 2018 +0200
----------------------------------------------------------------------
.../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/65903977/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() {