Hello,
We are currently using RT 5.0.1, which we migrated to from 4 (and before that from 3). We are currently testing out the rt-externalize-attachments tool, to attempt to move larger attachments out of the database (as this table is over 100GB in size). We are hitting alot of errors like the following:
[12669] [Tue May 4 21:14:21 2021] [critical]: Attachment 3835815 can’t find transaction 5980771 which it is ostensibly part of. That’s bad (/opt/rt5/sbin/…/lib/RT/Attachment.pm:251)
[12669] [Tue May 4 21:14:21 2021] [critical]: Attachment 3835815 can’t find transaction 5980771 which it is ostensibly part of. That’s bad (/opt/rt5/sbin/…/lib/RT/Attachment.pm:251)
[12669] [Tue May 4 21:14:21 2021] [critical]: Attachment 3835815 can’t find transaction 5980771 which it is ostensibly part of. That’s bad (/opt/rt5/sbin/…/lib/RT/Attachment.pm:251)
Which eventually fails down to:
[12669] [Tue May 4 21:14:22 2021] [info]: Storing RT::Attachments 3835817 (./rt-externalize-attachments:172)
[12669] [Tue May 4 21:14:23 2021] [warning]: DBD::mysql::db begin_work failed: Turning off AutoCommit failed at ./rt-externalize-attachments line 184. (./rt-externalize-attachments:184)
[12669] [Tue May 4 21:14:23 2021] [critical]: DBD::mysql::db begin_work failed: Turning off AutoCommit failed at ./rt-externalize-attachments line 184. (/opt/rt5/sbin/…/lib/RT.pm:409)
DBD::mysql::db begin_work failed: Turning off AutoCommit failed at ./rt-externalize-attachments line 184.
Is there anything that can be/should be done to clean up these issues prior to attempting to move the attachments out of the database?
Thanks,