Clarify calls to check_primary_status()

Use a constant rather than a magic number to indicate non-provision
of elapsed degraded monitoring time.
This commit is contained in:
Ian Barwick
2019-03-18 14:19:09 +09:00
parent 0940185f49
commit 43f28f4097
2 changed files with 3 additions and 2 deletions

View File

@@ -63,6 +63,7 @@
#define ELECTION_RERUN_NOTIFICATION -2
#define VOTING_TERM_NOT_SET -1
#define ARCHIVE_STATUS_DIR_ERROR -1
#define NO_DEGRADED_MONITORING_ELAPSED -1
#define BDR2_REPLICATION_SET_NAME "repmgr"