template <OSDMapGateType OSDMapGateTypeV>
void OSDMapGate<OSDMapGateTypeV>::got_map(epoch_t epoch) {
+ if (epoch == 0) {
+ return;
+ }
+ ceph_assert(epoch > current);
current = epoch;
auto first = waiting_peering.begin();
auto last = waiting_peering.upper_bound(epoch);