You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hudi-bot (via GitHub)" <gi...@apache.org> on 2025/11/30 08:07:18 UTC

[I] Ensure MDT indexes cannot be disabled via. config [hudi]

hudi-bot opened a new issue, #16025:
URL: https://github.com/apache/hudi/issues/16025

   ## JIRA info
   
   - Link: https://issues.apache.org/jira/browse/HUDI-6374
   - Type: Bug


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Ensure MDT indexes cannot be disabled via. config [hudi]

Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on issue #16025:
URL: https://github.com/apache/hudi/issues/16025#issuecomment-4795519187

   This appears to be addressed by [PR #18181](https://github.com/apache/hudi/pull/18181) (commit `b634262f060a`, since version `1.2.0`), which introduced the new config `hoodie.metadata.auto.delete.partitions` (default `true`).
   
   When set to `false`, both `HoodieTable.maybeDeleteMetadataTable()` and `HoodieTable.deleteMetadataIndexIfNecessary()` short‑circuit, so flipping a per‑index `hoodie.metadata.*.enable` flag in the writer config will no longer silently drop the corresponding MDT partition — users must explicitly drop indexes via `DROP INDEX` or the hudi‑cli. This is the recommended setting for production datasets with multiple writers.
   
   The default value still preserves the previous behavior for backwards compatibility, so closing this as fixed assumes the original ask was to provide a way to opt‑in to safe behavior. If the intent was instead to make the safe behavior the default, that's a separate discussion worth a follow‑up. Otherwise this issue can 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


Re: [I] Ensure MDT indexes cannot be disabled via. config [hudi]

Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan closed issue #16025: Ensure MDT indexes cannot be disabled via. config
URL: https://github.com/apache/hudi/issues/16025


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