nsivabalan commented on a change in pull request #2092:
URL: https://github.com/apache/hudi/pull/2092#discussion_r505103654
##########
File path: hudi-integ-test/src/test/resources/unit-test-cow-dag.yaml
##########
@@ -17,23 +17,53 @@ first_insert:
config:
record_size: 70000
num_insert_partitions: 1
- repeat_count: 1
+ repeat_count: 2
Review comment:
@n3nash : my bad. can you clarify what does repeat do here. will it add
2* 100 records ? If yes, total expected records should be 400 right in line 66.
##########
File path:
hudi-integ-test/src/main/java/org/apache/hudi/integ/testsuite/dag/nodes/RollbackNode.java
##########
@@ -49,6 +54,11 @@ public void execute(ExecutionContext executionContext)
throws Exception {
Option<HoodieInstant> lastInstant =
metaClient.getActiveTimeline().getCommitsTimeline().lastInstant();
if (lastInstant.isPresent()) {
Review comment:
my bad. I missed that we can rollback only the latest commit.
----------------------------------------------------------------
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]