Signed-off-by: zhang.zezhu <zhang.zezhu@zte.com.cn>
if (m->if_osd_failed()) {
// add a report
mon->clog->debug() << m->get_target() << " reported failed by "
- << m->get_orig_source_inst() << "\n";
+ << m->get_orig_source_inst() << "\n";
failure_info_t& fi = failure_info[target_osd];
MonOpRequestRef old_op = fi.add_report(reporter, failed_since, op);
if (old_op) {
*/
return (!latest_full ||
(latest_full <= get_trim_to()) ||
- (get_last_committed() - latest_full > (unsigned)g_conf->paxos_stash_full_interval));
+ (get_last_committed() - latest_full > (version_t)g_conf->paxos_stash_full_interval));
}
void PaxosService::restart()
if (locator.size())
src_name += "(@" + locator + ")";
cout << src_pool << ":" << src_name << " => "
- << target_pool << ":" << target_name << std::endl;
+ << target_pool << ":" << target_name << std::endl;
src_ctx.locator_set_key(locator);
src_ctx.set_namespace(nspace);