This is an automated email from the ASF dual-hosted git repository. voonhous pushed a commit to branch release-1.2.1 in repository https://gitbox.apache.org/repos/asf/hudi.git
commit 71cef99d6e29639ec98c3a447ad384992c1d5759 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) (cherry picked from commit abb9b349dbe7b4034fd2e032f696a4fe3dff00f4) --- .../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)) {
