Galera cluster status is Synced, all affected files are updated

This commit is contained in:
Massimiliano Pinto
2013-10-14 15:29:26 +02:00
parent 66dbb8ec23
commit 121cff7ffa
5 changed files with 5 additions and 5 deletions

View File

@ -544,7 +544,7 @@ static struct {
{ "running", SERVER_RUNNING },
{ "master", SERVER_MASTER },
{ "slave", SERVER_SLAVE },
{ "joined", SERVER_JOINED },
{ "synced", SERVER_JOINED },
{ NULL, 0 }
};
/**

View File

@ -225,7 +225,7 @@ int i, n;
inst->bitmask |= (SERVER_MASTER|SERVER_SLAVE);
inst->bitvalue |= SERVER_SLAVE;
}
else if (!strcasecmp(options[i], "joined"))
else if (!strcasecmp(options[i], "synced"))
{
inst->bitmask |= (SERVER_JOINED);
inst->bitvalue |= SERVER_JOINED;

View File

@ -227,7 +227,7 @@ static ROUTER* createInstance(
router->bitmask |= (SERVER_MASTER|SERVER_SLAVE);
router->bitvalue |= SERVER_SLAVE;
}
else if (!strcasecmp(options[i], "joined"))
else if (!strcasecmp(options[i], "synced"))
{
router->bitmask |= (SERVER_JOINED);
router->bitvalue |= SERVER_JOINED;