ceph-monstore-tool rebuild question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,all
I recently read the ceph-monstore-tool code, and have a question about
rebuild operations.
In update_paxos() we read  osdmap, pgmap, auth and pgmap_pg records to
pending_proposal(a bufferlist) as the value of  the key paxos_1, and
set paxos_pending_v=1,
and set the paxos_last_committed=0 and paxos_first_committed=0;

My question is if we start the mon after rebuild, let's say there is
only one mon now, the mon will not commit the paxos_pending_v=1, and
if we change the osdmap by 'ceph osd set noout' the new pending_v=1
will overwrite the former one in rebuild, so i think we don't need to
set paxos_1=pending_proposal, paxos_pending_v=1 in 'ceph-monstore-tool
rebuild'.

Thanks!



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux