All of lore.kernel.org
 help / color / mirror / Atom feed
* full osdmaps in mon txns
@ 2014-12-23 21:10 Sage Weil
  2015-01-01 15:50 ` Joao Eduardo Luis
       [not found] ` <alpine.DEB.2.00.1412231306170.28630-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Sage Weil @ 2014-12-23 21:10 UTC (permalink / raw)
  To: joao, gfarnum; +Cc: ceph-devel

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

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

end of thread, other threads:[~2015-01-06  8:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-23 21:10 full osdmaps in mon txns Sage Weil
2015-01-01 15:50 ` Joao Eduardo Luis
     [not found] ` <alpine.DEB.2.00.1412231306170.28630-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
2015-01-05  9:12   ` Dan van der Ster
2015-01-06  8:49     ` Dan van der Ster

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.