Skip to content

fix: Use existing DB connection for a few more places in FileManager#8529

Merged
chaen merged 1 commit intoDIRACGrid:integrationfrom
sfayer:fix_fcdbconn
May 7, 2026
Merged

fix: Use existing DB connection for a few more places in FileManager#8529
chaen merged 1 commit intoDIRACGrid:integrationfrom
sfayer:fix_fcdbconn

Conversation

@sfayer
Copy link
Copy Markdown
Member

@sfayer sfayer commented May 7, 2026

Hi,

There are a few db._update calls in FileManager that don't use the existing database connection, but probably should. There is a suspicion that the FileInfo one might be behind our occasional "corrupt file" issue where very occasionally an entry is only created in the File table but not FileInfo, but this is too rare for us to directly test.

Regards,
Simon

BEGINRELEASENOTES
*DataManagement
FIX: Use existing connection for all updates in FileManager
ENDRELEASENOTES

@sfayer sfayer requested review from andresailer and chaen as code owners May 7, 2026 10:55
@chaen chaen merged commit b6f96b9 into DIRACGrid:integration May 7, 2026
23 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants