tarides / tezos

Mirror of the release branches for Tezos, a self-amending cryptographic ledger
https://gitlab.com/tezos/tezos
Other
0 stars 2 forks source link

Storage subcommand #14

Closed icristescu closed 3 years ago

icristescu commented 3 years ago

cc @CraigFe and @zshipko

some outputs:

./tezos-node storage reconstruct-index --output ../new_index --data-dir ./data
Reconstructing index    52.4 MiB  00:07  [################################] 100%

error messages:

./tezos-node storage stat-index --data-dir ../bla/
tezos-node: Error:
              Invalid data directory '../bla/context'.

integrity checks (which take a lot of time, around 600 minutes for 7524k contents / 61_482k nodes / 222k commits)

./tezos-node storage integrity-check-inodes --data-dir ./data --head BL8cXxKynJ47v77YRtpY1gQbr7Mhe7RiWPjuxbR8iQnvz8w7ToJ
Running the integrity_check.
    8k contents / 71k nodes / 0k commits
icristescu commented 3 years ago

Closing as https://gitlab.com/tezos/tezos/-/merge_requests/2613 merged.