]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: add debugging for conf changes
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 26 Feb 2025 23:23:41 +0000 (18:23 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:16 +0000 (15:43 -0400)
So logs show when they are modified.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit be954e09e48f96a8a85c6b1a7a83d2eca9ff446a)

src/client/Client.cc

index b0d93d39a32bc5bb91d3d64d94e492478f744920..f457db4c39a21128d3c65e84fca055e469c6bb1e 100644 (file)
@@ -17363,6 +17363,8 @@ const char** Client::get_tracked_conf_keys() const
 void Client::handle_conf_change(const ConfigProxy& conf,
                                const std::set <std::string> &changed)
 {
+  ldout(cct, 20) << "got conf changes: " << changed << dendl;
+
   std::scoped_lock lock(client_lock);
 
   if (changed.count("client_cache_mid")) {