Skip to content
Commit 6adadc17 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix database deadlock introduced in commit d54d1f24

The early-return optimization in SearchManager::searchUpdateResultsAvailable()
did not commit or rollback the transaction that was opened in that method.
If the transaction acquired an exclusive lock it would block all other DB
connections from acquiring exclusive transactions on that table forever.
This only affects SQLite, MySQL/PSQL seems to be able to deal with it
thanks to row locking.
parent 5aafccff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment