The octopus MDS wants an explicit ack when snaps are removed.
Signed-off-by: Sage Weil <sage@redhat.com>
}
}
+ if (HAVE_FEATURE(m->get_connection()->get_features(), SERVER_OCTOPUS)) {
+ auto reply = make_message<MRemoveSnaps>();
+ reply->snaps = m->snaps;
+ mon->send_reply(op, reply.detach());
+ }
+
ignore:
return true;
}
}
}
}
+
+ if (HAVE_FEATURE(m->get_connection()->get_features(), SERVER_OCTOPUS)) {
+ auto reply = make_message<MRemoveSnaps>();
+ reply->snaps = m->snaps;
+ wait_for_finished_proposal(op, new C_ReplyOp(this, op, reply));
+ }
+
return true;
}