Skip to content

[Critical Issue] Session Table Auto-Increment Mechanism Leads to ID Exhaustion in Airflow Database #45794

Answered by potiuk
claude89757 asked this question in General
Discussion options

You must be logged in to vote

I would like to suggest that the Airflow project take this issue into consideration.

@claude - I don't believe this is practical - you are the first of many thousands of people who ever hit that limit . But if you feel like it - this is something you might suggest to flask-session project. This is where both session table and size of the fleld is Integer (which in Postgres is up to 2B: https://www.postgresql.org/docs/current/datatype-numeric.html

Here where it is defined:

https://github.com/pallets-eco/flask-session/blob/development/src/flask_session/sqlalchemy/sqlalchemy.py#L27

Feel free to open issue in flask-session and describe your case.

Replies: 6 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@claude89757
Comment options

Comment options

You must be logged in to vote
9 replies
@claude89757
Comment options

@potiuk
Comment options

potiuk Jan 20, 2025
Collaborator

@potiuk
Comment options

potiuk Jan 20, 2025
Collaborator

@claude89757
Comment options

@potiuk
Comment options

potiuk Jan 20, 2025
Collaborator

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by claude89757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #45793 on January 20, 2025 05:18.