dump_tree

command
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

The dump_tree program uses the in memory storage implementation to create a sequenced log tree of a particular size using known leaf data and then dumps out the resulting SubTree protos for examination and debugging. It does not require any actual storage to be configured.

Examples of some usages:

Print a summary of the storage protos in a tree of size 1044, rebuilding internal nodes: dump_tree -tree_size 1044 -summary

Print all versions of all raw subtree protos for a tree of size 58: dump_tree -tree_size 58 -latest_version=false

Print the latest revision of each subtree proto for a tree of size 127 with hex keys: dump_tree -tree_size 127

Print out the nodes by level using the NodeReader API for a tree of size 11: dump_tree -tree_size 11 -traverse

The format for recordio output is as defined in: https://github.com/google/or-tools/blob/master/ortools/base/recordio.h This program always outputs uncompressed records.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL