Skip to content

Commit

Permalink
Output metadata size in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Oct 16, 2023
1 parent 8a0f680 commit 9c4b60e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dwarfs/scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,8 @@ void scanner_<LoggerPolicy>::scan(

auto [schema, data] = metadata_v2::freeze(mv2);

LOG_VERBOSE << "uncompressed metadata size: " << size_with_unit(data.size());

fsw.write_metadata_v2_schema(std::make_shared<block_data>(std::move(schema)));
fsw.write_metadata_v2(std::make_shared<block_data>(std::move(data)));

Expand Down

0 comments on commit 9c4b60e

Please sign in to comment.