]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/config: check against raw value (no meta) to detect unchanged option
authorSage Weil <sage@redhat.com>
Mon, 26 Feb 2018 18:41:46 +0000 (12:41 -0600)
committerSage Weil <sage@redhat.com>
Tue, 6 Mar 2018 20:44:50 +0000 (14:44 -0600)
commit12062e7d8766522c51aa88e83070cfba409c6461
tree8d2902e84ae5d3a3c60411dd92fe5d60cc13805e
parent3d0b38aff5df819279cff4e0b070767a1af9789a
common/config: check against raw value (no meta) to detect unchanged option

If we are looking at a new value from the mon and comparing it to what we
already have active, compare the non-meta-substituted form.  This way a
value from the mon that can't update at runtime but we have already set to
the same value will not be falsely flagged as ignored.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config.cc
src/common/config.h