Allow stale master status to be assigned via maxadmin

If a master once had slaves and is in the stale status, it will not retain
this status after a restart. Without storing on-disk information, the
stale master status cannot be deduced by looking at the master
alone. Because of this, the user should be able to manually enable the
stale master status.
This commit is contained in:
Markus Makela
2016-11-16 22:59:47 +02:00
parent 5aefd35df9
commit 4e007e87d0
2 changed files with 5 additions and 0 deletions

View File

@ -990,6 +990,7 @@ static struct
{ "ndb", SERVER_NDB },
{ "maintenance", SERVER_MAINT },
{ "maint", SERVER_MAINT },
{ "stale", SERVER_STALE_STATUS },
{ NULL, 0 }
};