Project

General

Profile

Actions

Feature #8605

closed

mon: add sanity checks on configurables

Added by Sage Weil almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
Monitor
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

add a check_config() type method to the config observer and init to verify that important config tunables (like timeouts and intervals for elections, paxos, leases, clock skew) obey the necessary constraints for correctness.

checks should include these tunables, at a minimum:

- mon_accept_timeout
- mon_lease_ack_timeout
- mon_leas_renew_interval

See similar pull request for checks in the osd: https://github.com/ceph/ceph/pull/1964

Actions

Also available in: Atom PDF