Signed-off-by: Sage Weil <sage@redhat.com>
device_class,
&out);
- if (out == s->last_config) {
+ if (out == s->last_config && s->any_config) {
dout(20) << __func__ << " no change, " << out << dendl;
return false;
}
dout(20) << __func__ << " " << out << dendl;
s->last_config = out;
+ s->any_config = true;
return true;
}
string remote_host; ///< remote host name
map<string,string> last_config; ///< most recently shared config
+ bool any_config = false;
MonSession(const entity_inst_t& i, Connection *c) :
RefCountedObject(g_ceph_context),