Ozone Debug

Debug OM

qianmoQqianmoQ· 更新于 2026-09-24· 阅读 3 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Debug commands related to OM.
It has the following subcommands:

generate-compaction-dag

Creates a DAG image of the current compaction log of an OM.db instance. It is downloaded to the specified location.

Usage: ozone debug om generate-compaction-dag [-hV] [--verbose] --db=<dbPath>
       -o=<imageLocation>
Create an image of the current compaction log DAG. This command is an offline
command. i.e., it can run on any instance of om.db and does not require OM to
be up.
      --db=<dbPath>   Path to OM RocksDB
  -h, --help          Show this help message and exit.
  -o, --output-file=<imageLocation>
                      Path to location at which image will be downloaded.
                        Should include the image file name with ".png"
                        extension.
  -V, --version       Print version information and exit.
      --verbose       More verbose output. Show the stack trace of the errors.

prefix

Parses the contents of a prefix.

Usage: ozone debug om prefix [--verbose] --bucket=<bucket> --db=<dbPath>
                             --path=<filePath> --volume=<volume>
Parse prefix contents
      --bucket=<bucket>   bucket name
      --db=<dbPath>       Path to OM RocksDB
      --path=<filePath>   prefixFile Path
      --verbose           More verbose output. Show the stack trace of the
                            errors.
      --volume=<volume>   volume name

Next >>

评论

登录后参与评论

正在加载评论…