Closed
Bug 1089782
Opened 10 years ago
Closed 10 years ago
mysql calls in the model should retry when there is a Deadlock (Operational Error)
Categories
(Tree Management :: Treeherder, defect, P1)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: camd, Assigned: camd)
References
Details
Attachments
(1 file)
These deadlocks are normal in MySQL, so we need to retry on them.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → cdawson
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 1•10 years ago
|
||
Attachment #8514300 -
Flags: review+
Comment 2•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder-service https://github.com/mozilla/treeherder-service/commit/b5f37add001a3c8f9c733c292134a5cc3fc3f149 bug 1089782 - retry on mysql deadlock https://github.com/mozilla/treeherder-service/commit/95a5f9e5ae990f3e4068670b79eeccc4601056ba bug 1089782 - move func to utils package, use on refdata and jobs Also removed some dead code https://github.com/mozilla/treeherder-service/commit/c2bc1493511d95de4b3bcc6d638125db1486a36e bug 1089782 - apply retry to objectstore calls https://github.com/mozilla/treeherder-service/commit/0d598d2a84b81d74aeeef8d479d08bef7e905f2a bug 1089782 - fix bad param usage https://github.com/mozilla/treeherder-service/commit/9d098e8adec51651f407cc09ecb56890c479ee99 bug 1089782 - fix retry limit and add test
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•