Github user karanmehta93 commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/399#discussion_r229531588
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/TaskRegionObserver.java
---
@@ -70,7 +70,11 @@
private long timeMaxInterval =
QueryServicesOptions.DEFAULT_TASK_HANDLING_MAX_INTERVAL_MS;
@GuardedBy("TaskRegionObserver.class")
// initial delay before the first task is handled
- private static final long initialDelay = 10000; // 10 secs
+ private static long initialDelay = 10000; // 10 secs
+
+ public static void disableTaskHandling() {
--- End diff --
Yes, that's what I realized later. I suggested this option as alternative
but I guess we will be okay for now with this one.
---