1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 13:09:08 +01:00
phorge-phorge/src/infrastructure/cluster
epriestley 764db4869c Make "bin/storage destroy" target individual hosts in database cluster mode
Summary:
Ref T13336. Currently, "bin/storage destroy" destroys every master. This is wonderfully destructive, but if replication fails it's useful to be able to destroy only a replica.

Operate on a single host, and require "--host" to target the operation in cluster mode, so `bin/storage destroy --host dbreplica001` is a useful operation.

Test Plan: Ran `bin/storage destroy` with various flags locally. Will destroy `secure002` and refresh replication.

Maniphest Tasks: T13336

Differential Revision: https://secure.phabricator.com/D20784
2019-09-04 10:11:08 -07:00
..
config Add infrastructure for sending SMS via AWS SNS 2019-01-23 16:29:50 -08:00
exception Pass all Throwables to Exception Handlers, not just Exceptions 2017-06-20 05:44:51 -07:00
search Show users how fulltext search queries are parsed and executed; don't query stopwords or short tokens 2017-04-12 19:07:54 -07:00
PhabricatorClusterServiceHealthRecord.php Support multiple fulltext search clusters with 'cluster.search' config 2017-03-26 08:16:47 +00:00
PhabricatorDatabaseRef.php Make "bin/storage destroy" target individual hosts in database cluster mode 2019-09-04 10:11:08 -07:00
PhabricatorDatabaseRefParser.php Allow persistent connections to be configured per database host 2016-11-22 10:55:45 -08:00