Bug 627573
Summary: | Ensure that attachments are migrated together with Jira issues | ||
---|---|---|---|
Product: | [Community] Bugzilla | Reporter: | Jiri Pechanec <jpechane> |
Component: | Bugzilla General | Assignee: | Simon Green <sgreen> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.6 | CC: | ebaak, mharvey, sgreen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-03-09 17:26:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 583097 |
Description
Jiri Pechanec
2010-08-26 13:02:25 UTC
*** Bug 670820 has been marked as a duplicate of this bug. *** This has been committed to production and will be visible on all future migrations. Some things to note: The largest attachment is currently just over 10MB. Production Bugzilla currently allows attachments up to 20MB in size so this shouldn't be a problem (The test server was set at 1MB, but I have changed this) The attachments are grabbed using LWP (perl module to get files from the jira web server). On the basis of my testing, this will add approximately an extra 12 hours to the migration if we migrate all issues (this is based on a connection from Brisbane, it will probably be a little faster for the US server) $ svn commit Bugzilla/Migrate/JIRA.pm bugzilla.spec.in Sending Bugzilla/Migrate/JIRA.pm Sending bugzilla.spec.in Transmitting file data .. Committed revision 2357. This is now on the staging server. For example https://bz-web2-test.devel.redhat.com/show_bug.cgi?id=675093 (URL only valid until next database reload) -- simon Reopening this bug. I'm changing the way that we process attachments. We will get them off the filesystem. This will be more reliable than getting them at run time (although that will still be a fallback) Changes were made as part of revision 2366 this morning. -- simon Conducting a random sample, I found attachments to be migrated. Here's the two I looked at. https://bz-web2-test.devel.redhat.com/show_bug.cgi?id=BRMS-412 https://bz-web2-test.devel.redhat.com/show_bug.cgi?id=680152 I could not find a way to easily verify a match of the record counts of all migrated attachments, comparing the bz test instance to the Jira instance. closing |