Among other things, this prevents a mgr activation stall if it
happens to request config-keys from a mon that is out of
quorum.
Signed-off-by: Sage Weil <sage@redhat.com>
dout(10) << __func__ << " " << *m << dendl;
if (!in_quorum()) {
- dout(1) << __func__ << " not in quorum -- ignore message" << dendl;
+ dout(1) << __func__ << " not in quorum -- waiting" << dendl;
+ paxos->wait_for_readable(op, new Monitor::C_RetryMessage(mon, op));
return false;
}
friend class MonmapMonitor;
friend class PGMonitor;
friend class LogMonitor;
+ friend class ConfigKeyService;
QuorumService *health_monitor;
QuorumService *config_key_service;