Closed Bug 1361621 Opened 8 years ago Closed 8 years ago

chunk resolve_bug.pl bug updates into multiple transactions

Categories

(bugzilla.mozilla.org :: General, enhancement, P3)

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

Details

Attachments

(1 file, 1 obsolete file)

resolve_bug.pl currently enters one giant transaction and modifies (up to) 100,000 bugs. This locks profile statistics, duplicates and other tables. Rather than use one giant transaction, perhaps updating 100 at a time (or fewer) and finalizing the transaction will cause less disruption.
Attached file github pull request (obsolete) —
Attachment #8864172 - Attachment is obsolete: true
Attached patch 1361621_1.patchSplinter Review
Attachment #8867901 - Flags: review?(glob)
Priority: -- → P3
Comment on attachment 8867901 [details] [diff] [review] 1361621_1.patch Review of attachment 8867901 [details] [diff] [review]: ----------------------------------------------------------------- r=glob lgtm
Attachment #8867901 - Flags: review?(glob) → review+
To github.com:mozilla-bteam/bmo.git 0ae72757f..527d3cb69 master -> master
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: