You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite the queries to the new SQLAlchemy syntax, splitting each of them in a select and a delete statement. Add the following hint in the delete statement:
* Authentication: fix deletion of old tokens from DB #4815
* Update authentication.py
Co-authored-by: Mario Lassnig <mlassnig@users.noreply.github.com>
* Authentication: fix deletion of old tokens from DB #4815
* Update authentication.py
Co-authored-by: Mario Lassnig <mlassnig@users.noreply.github.com>
Motivation
The current deletion of old tokens does not work properly (deadlocks) and the hints do not run:
rucio/lib/rucio/core/authentication.py
Lines 139 to 140 in 7c8f6ae
Modification
Rewrite the queries to the new SQLAlchemy syntax, splitting each of them in a
select
and adelete
statement. Add the following hint in thedelete
statement:rucio/lib/rucio/db/sqla/models.py
Line 120 in 7c8f6ae
The text was updated successfully, but these errors were encountered: