[go: up one dir, main page]

Improve metadata stat inspection command

This simple MR aims to add a block_level field to the command's generated report and to print stats for each block.

In addition to that, it improves a bit UX

Manually testing the MR

Run ./octez-node storage stat-metadata --data-dir ./path on a data directory. The most relevant results are the ones from an archive node.

Note that this is a utility function that is not particularly well tested as it only aims to give some data statistics.

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading