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


##########
src/server/server.cc:
##########
@@ -832,6 +832,7 @@ void Server::GetRocksDBInfo(std::string *info) {
   uint64_t memtable_sizes = 0, cur_memtable_sizes = 0, num_snapshots = 0, 
num_running_flushes = 0;
   uint64_t num_immutable_tables = 0, memtable_flush_pending = 0, 
compaction_pending = 0;
   uint64_t num_running_compaction = 0, num_live_versions = 0, 
num_super_version = 0, num_background_errors = 0;
+  uint64_t block_cache_usage = 0;

Review Comment:
   This variable declaration should be placed closer to where it is used.



-- 
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