Skip to content

Commit

Permalink
Log Improvement: Report the name of cf-s whose options are skipped in…
Browse files Browse the repository at this point in the history
… the log (#521)
  • Loading branch information
udi-speedb committed Dec 5, 2023
1 parent cf7a904 commit 7756fb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Based on RocksDB 8.1.1
* CI: add a workflow for building and publishing jar to maven central (#507)
* LOG: Compaction job traces - report cf name and job id (#511)
* db_stress: Add cost_write_buffer_to_cache flag (#513)
* Log Improvement: Report the name of cf-s whose options are skipped in the log (#520)

### Bug Fix
* CI: fix sanity check to use clang-format 10
Expand Down
3 changes: 2 additions & 1 deletion db/column_family.cc
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ ColumnFamilyData::ColumnFamilyData(
name.c_str());
initial_cf_options_.Dump(ioptions_.logger);
} else {
ROCKS_LOG_INFO(ioptions_.logger, "\t(skipping printing options)\n");
ROCKS_LOG_INFO(ioptions_.logger,
"\t(skipping printing options of [%s])\n", name.c_str());
}
}

Expand Down

0 comments on commit 7756fb7

Please sign in to comment.