summaryrefslogtreecommitdiffstats
path: root/src/mgr/MgrClient.h
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2018-02-02 18:29:21 +0100
committerSage Weil <sage@redhat.com>2018-03-06 21:44:50 +0100
commit8e2a30068accd74c4bb452852375e7e94e00c50b (patch)
tree3bf8aca6739d1d2a7bce3da5a749195c086209f3 /src/mgr/MgrClient.h
parentvstart.sh: fix osd bootstrap (diff)
downloadceph-8e2a30068accd74c4bb452852375e7e94e00c50b.tar.xz
ceph-8e2a30068accd74c4bb452852375e7e94e00c50b.zip
mgr/MgrClient: only send config_bl if it has changed
The mgr already treats the config_bl as optional in the MMgrReport messages. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/mgr/MgrClient.h')
-rw-r--r--src/mgr/MgrClient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mgr/MgrClient.h b/src/mgr/MgrClient.h
index a3493f5c664..0f4d3c32e69 100644
--- a/src/mgr/MgrClient.h
+++ b/src/mgr/MgrClient.h
@@ -66,6 +66,8 @@ protected:
utime_t last_connect_attempt;
+ uint64_t last_config_bl_version = 0;
+
Context *report_callback = nullptr;
Context *connect_retry_callback = nullptr;