Page MenuHomePhabricator

Skip loading transaction handles in an old migration
ClosedPublic

Authored by epriestley on Jun 5 2019, 6:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 2:31 AM
Unknown Object (File)
Sun, Nov 17, 8:01 AM
Unknown Object (File)
Tue, Oct 29, 4:44 PM
Unknown Object (File)
Oct 21 2024, 5:31 AM
Unknown Object (File)
Oct 16 2024, 7:15 PM
Unknown Object (File)
Oct 9 2024, 12:23 PM
Unknown Object (File)
Sep 5 2024, 12:16 AM
Unknown Object (File)
Aug 30 2024, 2:16 PM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13305. See that task for discussion.

This old migration may indirectly cause search index worker tasks to queue by loading handles. They'll fail since we later added dateCreated to the worker task table.

Use needHandles(false) (since we don't use them) to disable loading handles and avoid the problem.

Test Plan
  • Ran bin/storage upgrade -f on an older instance (late 2016) and hit this issue.
  • Applied the patch, got a clean migration to modernity.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable