mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Formatting fix
This commit is contained in:
@@ -524,19 +524,19 @@ do_cluster_crosscheck(void)
|
|||||||
int max_node_status = -2;
|
int max_node_status = -2;
|
||||||
int node_ix;
|
int node_ix;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The value of entry (i,j) is equal to the
|
* The value of entry (i,j) is equal to the
|
||||||
* maximum value of all the (i,j,k). Indeed:
|
* maximum value of all the (i,j,k). Indeed:
|
||||||
*
|
*
|
||||||
* - if one of the (i,j,k) is 0 (node up), then 0
|
* - if one of the (i,j,k) is 0 (node up), then 0
|
||||||
* (the node is up);
|
* (the node is up);
|
||||||
*
|
*
|
||||||
* - if the (i,j,k) are either -1 (down) or -2
|
* - if the (i,j,k) are either -1 (down) or -2
|
||||||
* (unknown), then -1 (the node is down);
|
* (unknown), then -1 (the node is down);
|
||||||
*
|
*
|
||||||
* - if all the (i,j,k) are -2 (unknown), then -2
|
* - if all the (i,j,k) are -2 (unknown), then -2
|
||||||
* (the node is in an unknown state).
|
* (the node is in an unknown state).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
for(node_ix = 0; node_ix < n; node_ix ++)
|
for(node_ix = 0; node_ix < n; node_ix ++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user