This fun issue came up again in the form of 10422:
http://tracker.ceph.com/issues/10422
I think we have 3 main options:
1. Ask users to do a mon scrub prior to upgrade to
ensure it is safe. If a mon is out of sync, manually kick it out, blow it
away, and resync.
2. Do a one-time broadcast of the full osdmap across mons to ensure they
are consistent after upgrade. Bleh.
3. Include full encoded OSDMap in txns on updates going forward.
I like 3 because it solves this and all related problems going forward.
The local encoding of full osdmaps has proven to be a huge headache.
And, the patch to do it is remarkably simple
https://github.com/ceph/ceph/pull/3247/files
and dovetails well with the new CRC.
What do you think?
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html