This is an automated email from the ASF dual-hosted git repository.

voonhous pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new abb9b349dbe7 chore(test): document macOS-specific consistency-guard 
slowness in cleaner test (#17714) (#19003)
abb9b349dbe7 is described below

commit abb9b349dbe7b4034fd2e032f696a4fe3dff00f4
Author: voonhous <[email protected]>
AuthorDate: Wed Jun 17 00:56:55 2026 +0800

    chore(test): document macOS-specific consistency-guard slowness in cleaner 
test (#17714) (#19003)
---
 .../hudi/table/action/clean/TestCleanerInsertAndCleanByVersions.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/table/action/clean/TestCleanerInsertAndCleanByVersions.java
 
b/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/table/action/clean/TestCleanerInsertAndCleanByVersions.java
index 583135830d5b..aa26921c174f 100644
--- 
a/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/table/action/clean/TestCleanerInsertAndCleanByVersions.java
+++ 
b/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/table/action/clean/TestCleanerInsertAndCleanByVersions.java
@@ -133,6 +133,10 @@ public class TestCleanerInsertAndCleanByVersions extends 
SparkClientFunctionalTe
         .withBulkInsertParallelism(PARALLELISM)
         .withFinalizeWriteParallelism(PARALLELISM)
         .withDeleteParallelism(PARALLELISM)
+        // #17714: enabling the consistency check makes this test slow on 
macOS local file://. The cleaner's
+        // getFileStatus calls the guard's waitTillFileAppears, which misses 
the translated path and burns the
+        // full ~25.2s backoff per deleted file. Does NOT reproduce on CI 
(Linux), where the path resolves and
+        // it stays fast, so this gotcha is only visible locally.
         
.withConsistencyGuardConfig(ConsistencyGuardConfig.newBuilder().withConsistencyCheckEnabled(true).build())
         .build();
     try (final SparkRDDWriteClient client = getHoodieWriteClient(cfg)) {

Reply via email to