senapati484 commented on issue #68317:
URL: https://github.com/apache/airflow/issues/68317#issuecomment-7256924939

   A useful documentation fix would be to make the rollback limitation explicit 
in the upgrade/downgrade guide:
   
   - Schema downgrade migrations revert database structure, but they do not 
rewrite metadata rows serialized by a newer SDK/serialization format.
   - Therefore, a downgrade from 3.2.x to 3.1.x is not a safe rollback after 
newer serialized rows have been written.
   - The supported recovery guidance should be: restore a pre-upgrade 
metadata-database backup, or upgrade forward to a version that can 
deserialize/repair the rows; do not rely on `airflow db downgrade` alone.
   - Include the observed `Encoding.VAR` failure as an example and link to the 
serialization compatibility section.
   
   Before merging, the exact supported-version policy should be confirmed by 
the upgrade maintainers, but documenting this distinction would prevent 
operators from treating a schema downgrade as a complete application rollback.


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