Many users only set oncommit acks, so if they get an error code
(which comes only as a CEPH_OSD_OP_ACK right now) the request
disappears into the ether.
(And remove stupid debug statements while we're at it.)
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
num_unacked--;
logger->inc(l_osdc_op_ack);
}
- if (op->oncommit && m->is_ondisk()) {
+ if (op->oncommit && (m->is_ondisk() || rc)) {
ldout(cct, 15) << "handle_osd_op_reply safe" << dendl;
oncommit = op->oncommit;
op->oncommit = 0;
// do callbacks
if (onack) {
- ldout(cct, 20) << "Calling onack->finish with rc " << rc << dendl;
onack->finish(rc);
- ldout(cct, 20) << "Finished onack-finish" << dendl;
delete onack;
}
if (oncommit) {