@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Skip loading transaction handles in an old migration

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.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13305

Differential Revision: https://secure.phabricator.com/D20570

+1
+1
resources/sql/autopatches/20180208.maniphest.02.populate.php
··· 26 26 $xactions = id(new ManiphestTransactionQuery()) 27 27 ->setViewer($viewer) 28 28 ->withObjectPHIDs(array($task->getPHID())) 29 + ->needHandles(false) 29 30 ->withTransactionTypes( 30 31 array( 31 32 $type_merge,