Bugzilla importer hangs

Anthony Kirby February 13, 2013

Running a migration from Bugzilla to JIRA for over 4 days and it remains at 0% issues migrated. It had no issues with users, version, etc. It has issues at migrating the actual bugs/issues. The query being invoked to get a list of bugs takes forever due to the sub-select of the longdesc table. Is there a suggestion in getting around this issue?

1 answer

1 accepted

2 votes
Answer accepted
Tiago Comasseto
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2013

Hi Anthony,

I had a similar issue some time ago, in my case the error was in the backup of the base of Bugzilla. The backup did not have the constraints in the tables.

Example:

Import works with tables like this:
CREATE TABLE `attach_data` (
`id` mediumint(9) NOT NULL default '0',
`thedata` longblob NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 MAX_ROWS=100000 AVG_ROW_LENGTH=1000000;

Import doesn't work with tables like this:
CREATE TABLE `attach_data` (
`id` mediumint(9) NOT NULL default '0',
`thedata` longblob NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

I hope this helps.

Cheers

Anthony Kirby March 1, 2013

Turned out to be some confusion on the mysql side with the indexes. I removed all of them and added them back grandually. Problem solved. However, the Bugzilla importer can't handle large amounts of data. I'm forced to do a migration of 100,000 issues in 25,000 chunks.

petry
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 21, 2015

Hey @Anthony Kirby, can you share with us how did you imported this in parts? :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events