mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Add todo note
This commit is contained in:
@@ -298,9 +298,10 @@ _create_pg_dir(char *path, bool force, bool for_witness)
|
|||||||
* repmgr metadata, so in --force mode we can simply overwrite the
|
* repmgr metadata, so in --force mode we can simply overwrite the
|
||||||
* directory.
|
* directory.
|
||||||
*
|
*
|
||||||
* For non-witness servers, we'll leave the data in place, both to reduce
|
* For non-witness servers, we'll leave the data in place, to reduce
|
||||||
* the risk of unintentional data loss and to make it possible for the
|
* the risk of unintentional data loss
|
||||||
* data directory to be brought up-to-date with rsync.
|
*
|
||||||
|
* TODO: check DB state, if not running overwrite
|
||||||
*/
|
*/
|
||||||
if (for_witness)
|
if (for_witness)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user