Closed Bug 1180572 Opened 10 years ago Closed 10 years ago

create attachment_storage parameter

Categories

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

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

References

Details

Attachments

(1 file)

remove maxlocalattachment parameter and replace it with a attachment_storage parameter with options for 'database' and 'filesystem'. s3 support will be added in another bug.
Depends on: 1180570
Attached patch 1180572_1.patchSplinter Review
- remove 'maxlocalattachment' parameter, replace with 'attachment_storage' - create Bugzilla::Attachment::* classes and update B::Attachment to use them - create migrate-attachments.pl script for copying and deleting attachments between storage mechanisms
Attachment #8635138 - Flags: review?(dkl)
Comment on attachment 8635138 [details] [diff] [review] 1180572_1.patch Review of attachment 8635138 [details] [diff] [review]: ----------------------------------------------------------------- Codewise nothing stands out as suspect. I did thorough testing on moving attachments back and forth, deleting, and exercising the different backends with normal attachment operations. r=dkl
Attachment #8635138 - Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git dc8e2b4..ec9b5fd master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
fix attachment deletion errors: To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git 19cfefe..c53d646 master -> master
See Also: → 1528118
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: