We had moved the call out of eval_repop into a lambda, but that left out
a few other code paths and is fragile. So just call it unconditionally in
eval_repop() when we're done with the repop instead.
Fixes: #14962
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
log_op_stats(
ctx);
- publish_stats_to_osd();
-
if (m && m->wants_ondisk() && !ctx->sent_disk) {
// send commit.
MOSDOpReply *reply = ctx->reply;
if (repop->all_applied && repop->all_committed) {
repop->rep_done = true;
+ publish_stats_to_osd();
calc_min_last_complete_ondisk();
for (auto p = repop->on_success.begin();