PragmaTwice commented on code in PR #3557:
URL: https://github.com/apache/kvrocks/pull/3557#discussion_r3576407151


##########
src/server/server.h:
##########
@@ -444,6 +450,13 @@ class Server {
 
   std::map<std::string, DBScanInfo> db_scan_infos_;
 
+  // Per-namespace command statistics (keyed by namespace name), guarded by 
ns_stats_mu_. The global
+  // `stats` keeps the non-namespaced counters (net bytes, replication) and 
the sampled aggregate ops/sec.
+  std::unordered_map<std::string, std::shared_ptr<Stats>> ns_stats_;

Review Comment:
   Ahh got it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to