mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +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
|
||||
* directory.
|
||||
*
|
||||
* For non-witness servers, we'll leave the data in place, both to reduce
|
||||
* the risk of unintentional data loss and to make it possible for the
|
||||
* data directory to be brought up-to-date with rsync.
|
||||
* For non-witness servers, we'll leave the data in place, to reduce
|
||||
* the risk of unintentional data loss
|
||||
*
|
||||
* TODO: check DB state, if not running overwrite
|
||||
*/
|
||||
if (for_witness)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user