mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
ceph: follow monmap changes in -w mode
This commit is contained in:
parent
0d9bd68f65
commit
aa3ab0b5da
10
src/ceph.cc
10
src/ceph.cc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user