You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nsivabalan (via GitHub)" <gi...@apache.org> on 2026/06/25 03:24:28 UTC
Re: [I] Support re-attempting failed compaction [hudi]
nsivabalan commented on issue #16091:
URL: https://github.com/apache/hudi/issues/16091#issuecomment-4795531265
This appears to be addressed in current master.
- HoodieStreamer (formerly DeltaStreamer) supports re-attempting a pending/failed compaction before processing the next ingestion batch via the `--retry-last-pending-inline-compaction` flag, added in [HUDI-6147 / PR #8589](https://github.com/apache/hudi/pull/8589) (commit `545a26222da6`). The logic lives at `hudi-utilities/src/main/java/org/apache/hudi/utilities/streamer/StreamSync.java` (search for `retryLastPendingInlineCompactionJob`), and there is a covering test in `TestHoodieDeltaStreamer#testDeltaSyncWithPendingCompaction`.
- For inline compaction, [HUDI-1029 / PR #1857](https://github.com/apache/hudi/pull/1857) (commit `a8bd76c299b1`) already ensures previously failed compactions are retried before scheduling new ones.
If the original need for HUDI-6524 was something different (e.g. async compaction, Flink, or Spark Structured Streaming sink), please clarify; otherwise this can probably be closed.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org