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>
osd_epoch.erase(p++);
}
+ /** we don't have any of the feature bit infrastructure in place for
+ * supporting primary_temp mappings without breaking old clients/OSDs.*/
+ assert(osdmap.primary_temp->empty());
+
if (mon->is_leader()) {
// kick pgmon, make sure it's seen the latest map
mon->pgmon()->check_osd_map(osdmap.epoch);