PHOENIX-4626 Increase time allowed for partial index rebuild to complete

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

Branch: refs/heads/4.x-cdh5.11.2
Commit: a2a56ad8021091ba9903fc683671d02f58a0a1fa
Parents: 4b3eb2b
Author: James Taylor <jtay...@salesforce.com>
Authored: Mon Feb 26 15:34:26 2018 -0800
Committer: James Taylor <jtay...@salesforce.com>
Committed: Thu Mar 1 10:42:24 2018 -0800

----------------------------------------------------------------------
 .../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/a2a56ad8/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 d749433..6905fc3 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
@@ -197,7 +197,7 @@ public class QueryServicesOptions {
     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 = 5; // 
5 total tries at rpc level
-    public static final int DEFAULT_INDEX_REBUILD_DISABLE_TIMESTAMP_THRESHOLD 
= 30000 * 60; // 30 mins
+    public static final int DEFAULT_INDEX_REBUILD_DISABLE_TIMESTAMP_THRESHOLD 
= 60000 * 60 * 24; // 24 hrs
     public static final long DEFAULT_INDEX_PENDING_DISABLE_THRESHOLD = 30000; 
// 30 secs
 
     /**

Reply via email to