the-other-tim-brown commented on code in PR #13653:
URL: https://github.com/apache/hudi/pull/13653#discussion_r2248285382


##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/functional/TestSavepointRestoreMergeOnRead.java:
##########
@@ -326,21 +466,246 @@ void testCleaningCompletedRollback() throws Exception {
 
       // restore
       client.restoreToSavepoint(Objects.requireNonNull(savepointCommit, 
"restore commit should not be null"));
-      assertRowNumberEqualsTo(20);
+      assertEquals(commitToRowCount, getRecordCountPerCommit());
+      validateFilesMetadata(hoodieWriteConfig);
+      assertEquals(tableVersion, 
HoodieTableMetaClient.reload(metaClient).getTableConfig().getTableVersion());
     }
   }
 
-  private void upsertBatch(SparkRDDWriteClient client, List<HoodieRecord> 
baseRecordsToUpdate) throws IOException {
+  @Test
+  void rollbackWithAsyncServices_compactionCompletesDuringCommit() {

Review Comment:
   In v6 you cannot schedule compaction while there is an in-flight delta 
commit so it is not a valid case



-- 
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]

Reply via email to