danny0405 commented on code in PR #13375:
URL: https://github.com/apache/hudi/pull/13375#discussion_r2128017512
##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/client/functional/TestHoodieFileSystemViews.java:
##########
@@ -158,14 +158,36 @@ public void testFileSystemViewConsistency(HoodieTableType
tableType, boolean ena
upsertRecords(client, commitTime, 50);
}
- // mimic failed write for last completed operation and retry few more
operations.
- HoodieInstant lastInstant =
metaClient.reloadActiveTimeline().getWriteTimeline().lastInstant().get();
- HoodieCommitMetadata commitMetadata =
metaClient.getActiveTimeline().readCommitMetadata(lastInstant);
- StoragePath instantPath = HoodieTestUtils
- .getCompleteInstantPath(metaClient.getStorage(),
- metaClient.getTimelinePath(),
- lastInstant.requestedTime(), lastInstant.getAction(),
HoodieTableVersion.fromVersionCode(writeVersion));
- metaClient.getStorage().deleteFile(instantPath);
+
+ HoodieCommitMetadata commitMetadata = null;
+ boolean rollbackExecuted = false;
+ for (int i = 23; i < 26; i++) {
Review Comment:
I guess the nuance here is V8 fs view does not expose files that not
committed while V6 does.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]