Skip to content

Warn that db downgrade does not rewrite serialized DAG rows - #76814

Open
lavkushry wants to merge 2 commits into
apache:mainfrom
lavkushry:oocoder/issue-68317-document-db-downgrade-serde
Open

lavkushry wants to merge 2 commits into
apache:mainfrom
lavkushry:oocoder/issue-68317-document-db-downgrade-serde

Conversation

@lavkushry

@lavkushry lavkushry commented Nov 10, 2026 •

Copy link
Copy Markdown

Summary

  • Document that airflow db downgrade reverts schema only and does not rewrite SDK-serde / serialized metadata row content.
  • Call out the 3.2 → 3.1.x rollback failure mode (KeyError: Encoding.VAR).

Fixes #68317

Test plan

  • Review the new warning under Downgrading Airflow in usage-cli.rst

Document that Alembic downgrade reverts schema only, and that 3.2+
SDK-serde payloads can break 3.1.x deserializers after a rollback.

Fixes apache#68317

Co-authored-by: Cursor <[email protected]>
@lavkushry lavkushry changed the title docs: warn that db downgrade does not rewrite serialized rows Warn that db downgrade does not rewrite serialized DAG rows Nov 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that airflow db downgrade from 3.2 to 3.1.x does not revert SDK-serialized metadata row content

1 participant