Merge pull request #10231 from yonghengdexin735/wip-zzz-paxosserver-type

mon/PaxosService: make the return value type inconsistent

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Yuri Weinstein 2016-08-01 14:25:27 -07:00 committed by GitHub
commit e08022f566
3 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@ bool PaxosService::should_stash_full()
*/
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()