phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [phoenix] gjacoby126 commented on a change in pull request #499: Phoenix-5272 ALTER INDEX REBUILD ALL
Date Fri, 24 May 2019 23:24:21 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message