vinothchandar commented on a change in pull request #1009: [HUDI-308] Avoid
Renames for tracking state transitions of all actions on dataset
URL: https://github.com/apache/incubator-hudi/pull/1009#discussion_r357125859
##########
File path: hudi-client/src/main/java/org/apache/hudi/HoodieWriteClient.java
##########
@@ -792,23 +798,25 @@ public void restoreToInstant(final String instantTime)
throws HoodieRollbackExce
.filter(instant ->
HoodieActiveTimeline.GREATER.test(instant.getTimestamp(), instantTime))
.collect(Collectors.toList());
// Start a rollback instant for all commits to be rolled back
- String startRollbackInstant = startInstant();
+ String startRollbackInstant = HoodieActiveTimeline.createNewCommitTime();
Review comment:
rename: HoodieActiveTimeline.createNewInstantTime() ?
----------------------------------------------------------------
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