prathik-onehouse opened a new issue, #20911:
URL: https://github.com/apache/hudi/issues/20911

   ### Bug Description
   
   **What happened:**
   
   With `hoodie.write.auto.upgrade=false`, a write client whose 
`hoodie.write.table.version` is higher than the table version quietly rewrites 
its own config down to the table version and carries on, and one whose write 
version is lower skips the check entirely. Writers that build their own configs 
never see that rewrite: Flink write tasks keep writing the configured version's 
file layout into the older table, and Hudi Streamer with a Hudi incremental 
source can commit a V2 checkpoint key into a version 6 table, which version 6 
readers cannot resume from. Explicit upgrades through `UpgradeDowngrade.run()` 
(the CLI and the `upgrade_table` procedure) also return without doing anything 
when auto upgrade is off, while reporting success.
   
   **What you expected:**
   
   With auto upgrade disabled, a writer whose write version differs from the 
table version fails before writing, with a message naming the table and how to 
proceed. An explicit upgrade or downgrade runs regardless of the flag.
   


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