1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00
phorge-phorge/src
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
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Make minor flavor updates 2019-08-23 07:08:09 -07:00
applications Straighten out replication/cache behavior in "bin/storage dump" 2019-08-28 08:25:40 -07:00
docs Remove "bin/accountadmin" and "scripts/user/add_user.php" 2019-08-20 17:58:20 -07:00
extensions
infrastructure Straighten out replication/cache behavior in "bin/storage dump" 2019-08-28 08:25:40 -07:00
view Update Phortune payment account interfaces to handle merchant vs customer views 2019-08-22 21:02:41 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Give the Phortune external portal an order view 2019-08-26 07:49:17 -07:00