Files
phabricator/resources/sql/autopatches
epriestley 29a3cd5121 Add "Manual Activities", to tell administrators to rebuild the search index
Summary:
Ref T11922. After updating to HEAD of `master`, you need to manually rebuild the index. We don't do this during `bin/storage upgrade` because it can take a very long time (`secure.phabricator.com` took roughly an hour) and can happen while Phabricator is running.

However, if we don't warn users about this they'll just get a broken index unless they go read the changelog (or file an issue, then we tell them to go read the changelog).

This adds a very simple table for notes to administrators so we can write a "you need to go rebuild the index" note, then adds one.

Administrators clear the note by completing the activity and running `bin/config done reindex`. This isn't automatic because there are various strategies you can use to approach the issue, which I'll discuss in greater detail in the linked documentation.

Also, fix an issue where `bin/storage upgrade --apply <patch>` could try to re-mark an already-applied patch as applied.

Test Plan:
  - Ran storage ugrades.
  - Got instructions to rebuild search index.
  - Cleared instructions with `bin/config done reindex`.

Reviewers: chad

Reviewed By: chad

Subscribers: avivey

Maniphest Tasks: T11922

Differential Revision: https://secure.phabricator.com/D16965
2016-11-30 11:23:54 -08:00
..
2015-05-22 21:16:39 +10:00
2014-05-09 12:47:21 -07:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00
2014-09-11 13:38:58 -07:00
2015-05-22 21:16:39 +10:00
2014-11-07 12:29:24 -08:00
2015-05-22 21:16:39 +10:00
2015-05-22 21:16:39 +10:00
2015-06-03 18:42:33 -07:00
2015-06-17 07:17:14 +10:00
2015-06-17 07:17:14 +10:00
2015-07-22 13:37:20 -07:00
2015-07-22 13:35:34 -07:00
2015-07-22 13:35:34 -07:00
2015-07-22 13:35:34 -07:00
2016-07-27 12:22:57 -07:00