Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v0.16.0rc1] blockchain data unusable after restart #589

Closed
Gandalf-the-Grey opened this issue Nov 21, 2016 · 1 comment
Closed

[v0.16.0rc1] blockchain data unusable after restart #589

Gandalf-the-Grey opened this issue Nov 21, 2016 · 1 comment

Comments

@Gandalf-the-Grey
Copy link
Contributor

After stopping steemd (by Ctrl+C) unable to start it again using same blockchain data
without --replay:

3388385ms th_a       block_log.cpp:114             open                 ] Log is nonempty
3388386ms th_a       database.cpp:127              open                 ] 13 NSt8ios_base7failureB5cxx11E: basic_ios::clear: iostream error
rethrow basic_ios::clear: iostream error: 
    {"data_dir":"/home/steem/witness_node_data_dir/blockchain","what":"basic_ios::clear: iostream error"}
    th_a  database.cpp:127 open
3388386ms th_a       database.cpp:127              open                 ] data_dir: /home/steem/witness_node_data_dir/blockchain 
3388386ms th_a       application.cpp:337           startup              ] 13 NSt8ios_base7failureB5cxx11E: basic_ios::clear: iostream error
rethrow basic_ios::clear: iostream error: 
    {"data_dir":"/home/steem/witness_node_data_dir/blockchain","what":"basic_ios::clear: iostream error"}
    th_a  database.cpp:127 open
3388386ms th_a       application.cpp:900           startup              ] 13 NSt8ios_base7failureB5cxx11E: basic_ios::clear: iostream error
rethrow basic_ios::clear: iostream error: 
    {"data_dir":"/home/steem/witness_node_data_dir/blockchain","what":"basic_ios::clear: iostream error"}
    th_a  database.cpp:127 open
rethrow
    {}
    th_a  application.cpp:337 startup
3388386ms th_a       main.cpp:194                  main                 ] Exiting with error:
13 NSt8ios_base7failureB5cxx11E: basic_ios::clear: iostream error
rethrow basic_ios::clear: iostream error: 
    {"data_dir":"/home/steem/witness_node_data_dir/blockchain","what":"basic_ios::clear: iostream error"}
    th_a  database.cpp:127 open
rethrow
    {}
    th_a  application.cpp:337 startup

with --replay

3196168ms th_a       database.cpp:134              reindex              ] Reindexing Blockchain
3198409ms th_a       block_log.cpp:114             open                 ] Log is nonempty
3198409ms th_a       block_log.cpp:123             open                 ] Index is nonempty
3198409ms th_a       block_log.cpp:134             open                 ] block_pos < index_pos, close and reopen index_stream
3198446ms th_a       database.cpp:142              reindex              ] Replaying blocks...
3198446ms th_a       database.cpp:3004             _apply_block         ] 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE: unknown key
unknown key:
    {"name":"","what":"unknown key"}
    th_a  database.cpp:300 get_witness
3198446ms th_a       database.cpp:3004             _apply_block         ] next_block.block_num(): 1
3198446ms th_a       application.cpp:337           startup              ] 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE: unknown key
unknown key:
    {"name":"","what":"unknown key"}
    th_a  database.cpp:300 get_witness
rethrow
    {"next_block.block_num()":1}
    th_a  database.cpp:3004 _apply_block

    {"next_block":{"previous":"0000000000000000000000000000000000000000","timestamp":"2022-05-07T08:24:24","witness":"","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","transactions":[]}}
    th_a  database.cpp:2889 apply_block

    {"data_dir":"/home/steem/witness_node_data_dir/blockchain"}
    th_a  database.cpp:180 reindex
3198446ms th_a       application.cpp:900           startup              ] 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE: unknown key
unknown key:
    {"name":"","what":"unknown key"}
    th_a  database.cpp:300 get_witness
rethrow
    {"next_block.block_num()":1}
    th_a  database.cpp:3004 _apply_block

    {"next_block":{"previous":"0000000000000000000000000000000000000000","timestamp":"2022-05-07T08:24:24","witness":"","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","transactions":[]}}
    th_a  database.cpp:2889 apply_block

    {"data_dir":"/home/steem/witness_node_data_dir/blockchain"}
    th_a  database.cpp:180 reindex
rethrow
    {}
    th_a  application.cpp:337 startup
3198446ms th_a       main.cpp:194                  main                 ] Exiting with error:
13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE: unknown key
unknown key:
    {"name":"","what":"unknown key"}
    th_a  database.cpp:300 get_witness
rethrow
    {"next_block.block_num()":1}
    th_a  database.cpp:3004 _apply_block

    {"next_block":{"previous":"0000000000000000000000000000000000000000","timestamp":"2022-05-07T08:24:24","witness":"","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","transactions":[]}}
    th_a  database.cpp:2889 apply_block

    {"data_dir":"/home/steem/witness_node_data_dir/blockchain"}
    th_a  database.cpp:180 reindex
rethrow
    {}
    th_a  application.cpp:337 startup
@mvandeberg
Copy link
Contributor

merged

On1x pushed a commit to VIZ-Blockchain/viz-cpp-node that referenced this issue May 28, 2018
On1x pushed a commit to VIZ-Blockchain/viz-cpp-node that referenced this issue May 28, 2018
On1x pushed a commit to VIZ-Blockchain/viz-cpp-node that referenced this issue May 28, 2018
On1x pushed a commit to VIZ-Blockchain/viz-cpp-node that referenced this issue May 28, 2018
On1x pushed a commit to VIZ-Blockchain/viz-cpp-node that referenced this issue May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants