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)
Sat, Apr 20, 2:22 PM
Unknown Object (File)
Sat, Apr 20, 2:12 PM
Unknown Object (File)
Sat, Apr 20, 2:09 PM
Unknown Object (File)
Sat, Apr 20, 2:07 PM
Unknown Object (File)
Sat, Apr 20, 2:05 PM
Unknown Object (File)
Sat, Apr 20, 2:03 PM
Unknown Object (File)
Thu, Apr 4, 6:29 PM
Unknown Object (File)
Sat, Mar 30, 10:19 AM
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