]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSDMonitor: make sure we don't send out maps with a primary_temp mapping 1086/head
authorGreg Farnum <greg@inktank.com>
Wed, 15 Jan 2014 22:51:35 +0000 (14:51 -0800)
committerGreg Farnum <greg@inktank.com>
Thu, 16 Jan 2014 00:33:07 +0000 (16:33 -0800)
commite7b323675baf3c3acaed177c5ebdbf0c3d64559c
treed1eb255c313cf849cb84bd1fd3f25f6c43e2e00d
parent28e0b76191c4ee997f3af30dbefc5d3f24680f08
OSDMonitor: make sure we don't send out maps with a primary_temp mapping

Making sure a cluster supports primary_temp is complicated and we don't
have any of the machinery in place right now (nor a need to actually support
it). We don't have any mechanisms for setting it to begin with, so assert
that we never create anything with any such mapping in update_from_paxos()
to catch any errors.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/mon/OSDMonitor.cc