gjacoby126 commented on a change in pull request #499: Phoenix-5272 ALTER INDEX
REBUILD ALL
URL: https://github.com/apache/phoenix/pull/499#discussion_r287537805
##########
File path: phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
##########
@@ -934,7 +936,35 @@ public IndexStateCheck(PIndexState indexState, Long
indexDisableTimestamp, Boole
this.success = success;
}
}
-
+
+ public static void waitForIndexState(Connection conn, String
fullIndexName, PIndexState expectedIndexState) throws InterruptedException,
SQLException {
+ int maxTries = 60;
+ RetryCounter retrier = new RetryCounter(maxTries,
Review comment:
@gokceni - Unfortunately, the RetryCounter is InterfaceAudience.Private in
HBase, which means that outside projects such as Phoenix shouldn't depend on
it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services