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/ab7f6c3d
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/ab7f6c3d
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/ab7f6c3d

Branch: refs/heads/4.x-HBase-1.1
Commit: ab7f6c3d186e3a710b158609f9c92a42a947da5b
Parents: 376caa3
Author: James Taylor <jtay...@salesforce.com>
Authored: Mon Feb 26 15:34:26 2018 -0800
Committer: James Taylor <jtay...@salesforce.com>
Committed: Tue Feb 27 13:24:39 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/ab7f6c3d/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 dbd4835..fff05e6 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
@@ -195,7 +195,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