Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.6.0-b1
-
Component/s: None
-
Labels:None
Description
A deadlock can sometimes be encountered when creating invoices for large data sets, particularly the combination of the cron running to create invoices from services while the system adds an invoice elsewhere.
- Replicate the deadlock consistently to fix
- Attempt to retry the transaction that deadlocked
- If necessary, wait before running
- The script can sleep for a period of time (50-100ms) so there is a small window where a new invoice could be created if they are created too frequently that there is no time window for another process to create an invoice
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Tyson Phillips (Inactive)
made changes -
Story Points | 5 |
Tyson Phillips (Inactive)
made changes -
Sprint | 4.6.0 Sprint 6 [ 81 ] |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
Status | Open [ 1 ] | In Progress [ 3 ] |
Automated transition triggered when Tyson Phillips (Inactive) created pull request #647 in Stash -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Security | Private [ 10000 ] |
Tyson Phillips (Inactive)
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 3 hours, 30 minutes [ 12600 ] | |
Worklog Id | 12130 [ 12130 ] |
Tyson Phillips (Inactive)
made changes -
Time Spent | 3 hours, 30 minutes [ 12600 ] | 3 hours, 38 minutes [ 13080 ] |
Worklog Id | 12133 [ 12133 ] |
Jonathan Reissmueller
made changes -
Time Spent | 3 hours, 38 minutes [ 13080 ] | 3 hours, 53 minutes [ 13980 ] |
Worklog Id | 12139 [ 12139 ] |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #647 in Stash -
Status | In Review [ 5 ] | Closed [ 6 ] |