Closed Bug 814411 Opened 12 years ago Closed 12 years ago

Backport Bug 811280 and Bug 815026 to BMO (Add a caching mechanism to Bugzilla::Object to avoid querying the database repeatedly for the same information)

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
Attached patch patch v1 (obsolete) — Splinter Review
i'd like to get a sanity check on this before i commit.

in addition to the backport, i've also added cache tags to extensions where appropriate.
Attachment #684444 - Flags: review?(dkl)
Comment on attachment 684444 [details] [diff] [review]
patch v1

i'll attach an updated patch soon which fixes the shadowbugs issue, and also incorporates the patch from bug 815026
Attachment #684444 - Attachment is obsolete: true
Attachment #684444 - Flags: review?(dkl)
Summary: Backport Bug 811280 to BMO (Add a caching mechanism to Bugzilla::Object to avoid querying the database repeatedly for the same information) → Backport Bug 811280 and Bug 815026 to BMO (Add a caching mechanism to Bugzilla::Object to avoid querying the database repeatedly for the same information)
Attached patch patch v2Splinter Review
Attachment #685130 - Flags: review?(dkl)
Comment on attachment 685130 [details] [diff] [review]
patch v2

Review of attachment 685130 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good and works well in my testing. r=dkl
Attachment #685130 - Flags: review?(dkl) → review+
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0/
modified attachment.cgi
modified show_bug.cgi
modified Bugzilla/Attachment.pm
modified Bugzilla/Bug.pm
modified Bugzilla/Comment.pm
modified Bugzilla/Object.pm
modified Bugzilla/Product.pm
modified Bugzilla/Template.pm
modified extensions/BMO/Extension.pm
modified extensions/InlineHistory/Extension.pm
modified extensions/Splinter/Extension.pm
modified extensions/Splinter/lib/Util.pm
Committed revision 8402.

will leave this bug open and work on the 4.2 port (which is just about the fixing patch offsets).
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/
modified attachment.cgi
modified show_bug.cgi
modified Bugzilla/Attachment.pm
modified Bugzilla/Bug.pm
modified Bugzilla/Comment.pm
modified Bugzilla/Object.pm
modified Bugzilla/Product.pm
modified Bugzilla/Template.pm
modified extensions/BMO/Extension.pm
modified extensions/InlineHistory/Extension.pm
modified extensions/Splinter/Extension.pm
modified extensions/Splinter/lib/Util.pm
Committed revision 8432.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 816333
No longer blocks: 816333
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: