Dear all,
replying to my own question ;-)
this document explains the rbd mirroring / journaling process more in details:
https://pad.ceph.com/p/I-rbd_mirroring
especially this part:
=> so apparently there is one pointer to position in the journal for each secondary images (journal reader) and also importantly one for the primary image (normally journal writer, but also reader during open / crash
recovery)
this apparently confirms that clients on the primary are not only writing to the journal (to support replication on secondary) but also actively reading from it after a crash to replay the latest IO's that were missing on primary image. also useful info:
https://tracker.ceph.com/projects/ceph/wiki/RBD_-_Mirroring
cheers
Francois Scheurer
--
EveryWare AG François Scheurer Senior Systems Engineer Zurlindenstrasse 52a CH-8003 Zürich tel: +41 44 466 60 00 fax: +41 44 466 60 10 mail: francois.scheurer@xxxxxxxxxxxx web: http://www.everyware.ch From: Scheurer François <francois.scheurer@xxxxxxxxxxxx>
Sent: Tuesday, October 3, 2023 4:38:07 PM To: dillaman@xxxxxxxxxx; ceph-users@xxxxxxx Subject: [ceph-users] is the rbd mirror journal replayed on primary after a crash? Hello
Short question regarding journal-based rbd mirroring.
a.
Create an event to describe the update
If not, then the primary and secondary images would get out-of-sync (because of the extra write(s) on secondary) and subsequent writes to the primary would corrupt the secondary. Is that correct?
Cheers Francois Scheurer
-- EveryWare AG François Scheurer Senior Systems Engineer Zurlindenstrasse 52a CH-8003 Zürich tel: +41 44 466 60 00 fax: +41 44 466 60 10 mail: francois.scheurer@xxxxxxxxxxxx web: http://www.everyware.ch |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx