You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by sa...@apache.org on 2017/07/19 05:15:18 UTC

phoenix git commit: PHOENIX-4039 Increase default number of RPC retries for our index rebuild task

Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 0ebae7cc9 -> 4a6d27f4a


PHOENIX-4039 Increase default number of RPC retries for our index rebuild task


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/4a6d27f4
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/4a6d27f4
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/4a6d27f4

Branch: refs/heads/4.x-HBase-0.98
Commit: 4a6d27f4a75241108d8ea540025f437fc36cb65a
Parents: 0ebae7c
Author: Samarth Jain <sa...@apache.org>
Authored: Tue Jul 18 22:15:06 2017 -0700
Committer: Samarth Jain <sa...@apache.org>
Committed: Tue Jul 18 22:15:10 2017 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/phoenix/query/QueryServicesOptions.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4a6d27f4/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
index 32618f0..1d9bc5a 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java
@@ -176,7 +176,7 @@ public class QueryServicesOptions {
     public static final long DEFAULT_INDEX_REBUILD_QUERY_TIMEOUT = 30000 * 60; // 30 mins
     public static final long DEFAULT_INDEX_REBUILD_RPC_TIMEOUT = 30000 * 60; // 30 mins
     public static final long DEFAULT_INDEX_REBUILD_CLIENT_SCANNER_TIMEOUT = 30000 * 60; // 30 mins
-    public static final int DEFAULT_INDEX_REBUILD_RPC_RETRIES_COUNTER = 0; // no retries at rpc level
+    public static final int DEFAULT_INDEX_REBUILD_RPC_RETRIES_COUNTER = 1; // 1 retry at rpc level
     public static final int DEFAULT_INDEX_REBUILD_DISABLE_TIMESTAMP_THRESHOLD = 30000 * 60; // 30 mins
 
     /**