Skip to content

prune Lite Fullnode data error: data not found in store #5656

@halibobo1205

Description

@halibobo1205

I use Toolkit pruning Lite Fullnode data regularly.

Expected behaviour

It can be executed normally.

Actual behaviour

The command sometimes quits abnormally.

Steps to reproduce the behaviour

Backtrace

Start create snapshot.
Begin to split the dbs.
Begin to merge checkpoint to dataset.
Begin to fill 65536 block, genesis block and trans to snapshot.
fillBlockAndTrans  99% │███████████████████████████████████████████▉│ 65522/65536 (0:01:34 / 0:00:00)
data not found in store, dbName: block-index, key: [0, 0, 0, 0, 3, 64, -96, 32]
Usage: <main class> db lite [-h] -ds=<datasetPath> -fn=<fnDataPath>
                            [-o=<operate>] [-t=<type>]
Split lite data for java-tron.
      -ds, --dataset-path=<datasetPath>
                            when operation is `split`,`dataset-path` is the
                              path that store the `snapshot` or `history`,when
                              operation is `split`,`dataset-path` is the
                              `history` data path.
      -fn, --fn-data-path=<fnDataPath>
                            the database path to be split or merged.
  -h, --help
  -o, --operate=<operate>   operate: [ split, merge ]. Default: split
  -t, --type=<type>         only used with operate=split: [ snapshot, history
                              ]. Default: snapshot
Exit Codes:
  0   Successful
  1   Internal error: exception occurred,please check toolkit.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions