ceph: follow monmap changes in -w mode

This commit is contained in:
Sage Weil 2009-10-10 21:34:47 -07:00
parent 0d9bd68f65
commit aa3ab0b5da

View File

@ -199,6 +199,16 @@ void handle_notify(MMonObserveNotify *notify)
}
break;
}
case PAXOS_MONMAP:
{
mc.monmap.decode(notify->bl);
dout(0) << " mon " << mc.monmap << dendl;
}
break;
default:
dout(0) << " ignoring unknown machine id " << notify->machine_id << dendl;
}
map_ver[notify->machine_id] = notify->ver;