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


##########
src/storage/compaction_checker.cc:
##########
@@ -29,18 +29,19 @@
 void CompactionChecker::CompactPropagateAndPubSubFiles() {
   rocksdb::CompactRangeOptions compact_opts;
   compact_opts.change_level = true;
-  std::vector<std::string> cf_names = {engine::kPubSubColumnFamilyName, 
engine::kPropagateColumnFamilyName};
-  for (const auto &cf_name : cf_names) {
-    LOG(INFO) << "[compaction checker] Start the compact the column family: " 
<< cf_name;
-    auto cf_handle = storage_->GetCFHandle(cf_name);
+  for (const auto &cf :
+       {engine::ColumnFamilyConfigs::PubSubColumnFamily(), 
engine::ColumnFamilyConfigs::PubSubColumnFamily()}) {

Review Comment:
   typo here.



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