1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 11:42:42 +01:00
phorge-phorge/src/applications/config
epriestley c6642213d5 Straighten out replication/cache behavior in "bin/storage dump"
Summary:
Fixes T13336.

  - Prevent `--no-indexes` from being combined with `--for-replica`, since combining these options can only lead to heartbreak.
  - In `--for-replica` mode, dump caches too. See discussion in T13336. It is probably "safe" to not dump these today, but fragile and not correct.
  - Mark the "MarkupCache" table as having "Cache" persistence, not "Data" persistence (no need to back it up, since it can be fully regenerated from other datasources).

Test Plan: Ran `bin/storage dump` with various combinations of flags.

Maniphest Tasks: T13336

Differential Revision: https://secure.phabricator.com/D20743
2019-08-28 08:25:40 -07:00
..
application Give Config the "" (SPARKLE LIKE NEW) emoji instead of "☺" (STUPID LOOKING FACE) 2018-07-23 12:43:25 -07:00
check Export "date" and "remarkup" custom fields to Excel + "zip" extension check 2019-07-18 09:59:20 -07:00
constants Config re-design 2017-09-05 15:24:15 -07:00
controller Remove "iconv" PHP extension dependency 2019-01-30 19:46:58 -08:00
custom Revert partial/nonfunctional OpenGraph support 2017-11-22 15:21:10 -08:00
editor Allow "Can Configure Application" permissions to be configured 2018-11-19 07:25:41 -08:00
engine When we "discover" new fatal setup issues, stop serving traffic 2016-11-21 15:54:40 -08:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
issue Clean up another insufficiently-general exception 2016-11-23 10:41:19 -08:00
json Improve UI formatting of some configuration values 2015-12-05 09:58:47 -08:00
management Make the success message from "bin/config" more clear 2019-08-12 12:50:03 -07:00
module Split setup checks into "preflight" and "normal" checks 2016-09-06 11:57:18 -07:00
option Remove "phd.pid-directory" configuration and stop passing "piddir" to daemons 2019-06-24 11:28:58 -07:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Update many Phabricator queries for new %Q query semantics 2018-11-15 03:48:10 -08:00
response Add a friendlier "in flight" error page 2016-09-07 06:59:48 -07:00
schema Straighten out replication/cache behavior in "bin/storage dump" 2019-08-28 08:25:40 -07:00
storage Make the default behavior of getApplicationTransactionCommentObject() "return null" instead of "throw" 2019-02-07 14:56:38 -08:00
type Simplify one "array_keys/range" -> "phutil_is_natural_list()" in "phabricator/" 2019-02-28 07:29:36 -08:00
view Capitalize "OPcache" more consistently 2018-07-26 12:15:57 -07:00