All of lore.kernel.org
 help / color / mirror / Atom feed
* some issue about peering progress
@ 2017-10-27  7:45 Xinze Chi (信泽)
  2017-11-01 16:42 ` Ning Yao
  2017-11-01 20:26 ` Gregory Farnum
  0 siblings, 2 replies; 5+ messages in thread
From: Xinze Chi (信泽) @ 2017-10-27  7:45 UTC (permalink / raw)
  To: ceph-devel

hi, all:

     I confuse about the notify message during peering. Such as:

    epoch 1, primary osd do Pering , GetInfo and GetMissing, it
calling the func  proc_replica_log. in this func the last_complete and
last_update maybe reset.

    Before go to Activate. the OSDMap change (the new osdmap do not
lead to restart peering), the non-primary osd send the notify to
primary.

    When the primary receive the notify, Primary::react(const
MNotifyRec& notevt), so it call the func proc_replica_info.

    In the func, we update the pg info including last_complete and
last_update which modified in proc_replica_log.

    When the primary call the func activate, the primary osd  process
recovering based on pg info got by notify instead of proc_replica_log.

    so it is a bug?

-- 
Regards,
Xinze Chi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-28 23:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27  7:45 some issue about peering progress Xinze Chi (信泽)
2017-11-01 16:42 ` Ning Yao
2017-11-01 20:26 ` Gregory Farnum
     [not found]   ` <CANE=7sXWMXTpTfgG6NmwxYYyjYA2_UZ3oNun4eAw+QNiht2nkg@mail.gmail.com>
     [not found]     ` <CAJ4mKGaFP+5vePBNzm0fk3pqONirfCyGhrGynZ4BTD3AwfNMuw@mail.gmail.com>
2017-11-02  3:35       ` Xinze Chi (信泽)
2017-11-28 23:35         ` Gregory Farnum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.