-
-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix logic of SELECT FOR UDPDATE to avoid deadlocks
1. download the metadata with a timeout to avoid getting stuck 2. lock the record after completing the download
- Loading branch information
1 parent
31441ef
commit ad253fb
Showing
1 changed file
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters