If we don't have a connecton to a monitor, we want to retry to another
monitor regardless of whether it's the first time or not.
Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
(cherry picked from commit
60da8abe0ebf17ce818d6fcc6391401878123bb7)
// restart authentication handshake
state = MC_STATE_NEGOTIATING;
+ hunting = true;
MAuth *m = new MAuth;
m->protocol = 0;
return true;
ldout(cct, 0) << "hunting for new mon" << dendl;
- hunting = true;
_reopen_session();
}
}