vinothchandar commented on a change in pull request #942: [HUDI-137] Fix state
transitions for Hudi cleaning action
URL: https://github.com/apache/incubator-hudi/pull/942#discussion_r336994627
##########
File path:
hudi-client/src/test/java/org/apache/hudi/HoodieClientTestHarness.java
##########
@@ -52,6 +53,11 @@
protected transient HoodieTestDataGenerator dataGen = null;
protected transient ExecutorService executorService;
protected transient HoodieTableMetaClient metaClient;
+ private static AtomicInteger instantGen = new AtomicInteger(1);
+
+ public String getNextInstant() {
+ return String.format("%09d", instantGen.getAndIncrement());
Review comment:
in the real code, we could have the same instant time for commit and clean?
is this needed
----------------------------------------------------------------
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