}
dout(20) << __func__ << ": oid=" << op.hoid << dendl;
- dout(30) << __func__ << "EC_DEBUG_BUFFERS: "
- << op.returned_data->debug_string(2048, 8)
+ dout(20) << __func__ << "EC_DEBUG_BUFFERS: "
+ << op.returned_data->debug_string(2048, 0)
<< dendl;
continue_recovery_op(op, m);
#if 1
if (!replies.empty()) {
+ dout(20) << __func__ << " recovery_transactions=";
+ Formatter *f = Formatter::create("json");
+ f->open_object_section("t");
+ m.t.dump(f);
+ f->close_section();
+ f->flush(*_dout);
+ delete f;
+ *_dout << dendl;
commit_txn_send_replies(std::move(m.t), std::move(replies));
}
#endif
tls.reserve(2);
tls.push_back(std::move(op.t));
tls.push_back(std::move(localt));
+ dout(20) << __func__ << " queue_transactions=";
+ Formatter *f = Formatter::create("json");
+ f->open_array_section("tls");
+ for (ObjectStore::Transaction t: tls) {
+ f->open_object_section("t");
+ t.dump(f);
+ f->close_section();
+ }
+ f->close_section();
+ f->flush(*_dout);
+ delete f;
+ *_dout << dendl;
get_parent()->queue_transactions(tls, msg);
dout(30) << __func__ << " missing after" << get_parent()->get_log().
get_missing().
extent_map result;
if (res.r == 0) {
ceph_assert(res.errors.empty());
- dout(30) << __func__ << ": before decode: "
- << res.buffers_read.debug_string(2048, 8)
+ dout(20) << __func__ << ": before decode: "
+ << res.buffers_read.debug_string(2048, 0)
<< dendl;
/* Decode any missing buffers */
int r = res.buffers_read.decode(read_pipeline.ec_impl,
req.object_size,
read_pipeline.get_parent()->get_dpp());
ceph_assert( r == 0 );
- dout(30) << __func__ << ": after decode: "
- << res.buffers_read.debug_string(2048, 8)
+ dout(20) << __func__ << ": after decode: "
+ << res.buffers_read.debug_string(2048, 0)
<< dendl;
for (auto &&read: req.to_read) {
dout(20) << __func__ << " op=" << *op << dendl;
if (op->on_all_commit) {
- dout(10) << __func__ << " Calling on_all_commit on " << op << dendl;
+ dout(10) << __func__ << " Calling on_all_commit on " << *op << dendl;
op->on_all_commit->complete(0);
op->on_all_commit = nullptr;
op->trace.event("ec write all committed");
const ECUtil::shard_extent_map_t &map, DoutPrefixProvider *dpp) {
ldpp_dout(dpp, 20)
<< " generate_transactions: " << "oid: " << oid << str << map << dendl;
- ldpp_dout(dpp, 30)
- << "EC_DEBUG_BUFFERS: " << map.debug_string(2048, 8) << dendl;
+ ldpp_dout(dpp, 20)
+ << "EC_DEBUG_BUFFERS: " << map.debug_string(2048, 0) << dendl;
}
void ECTransaction::Generate::encode_and_write() {