]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/MetadataUpdate: add daemon_state.notify_update to contructor
authorJan Fajerski <jfajerski@suse.com>
Tue, 20 Mar 2018 08:16:55 +0000 (09:16 +0100)
committerJan Fajerski <jfajerski@suse.com>
Tue, 10 Apr 2018 09:49:22 +0000 (11:49 +0200)
commit3eaf1516ebbfc03bb8e5469fdf09249374bd9bb6
treedf544f29f46fce290023b232292272920cf2cd55
parentee03866b9feaaca1af4c77287d14b9da6ea9c8cb
mgr/MetadataUpdate: add daemon_state.notify_update to contructor

Before updating metadata a call site should check if an update has
already been triggered. Adding the notify_update call to the constructor
makes sure the correct info for this check is present.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/mgr/Mgr.cc
src/mgr/Mgr.h