mirror of
https://github.com/ceph/ceph
synced 2025-04-11 04:02:04 +00:00
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:
commit
e08022f566
src/mon
@ -207,7 +207,7 @@ bool PaxosService::should_stash_full()
|
|||||||
*/
|
*/
|
||||||
return (!latest_full ||
|
return (!latest_full ||
|
||||||
(latest_full <= get_trim_to()) ||
|
(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()
|
void PaxosService::restart()
|
||||||
|
Loading…
Reference in New Issue
Block a user