How do I restore my chain
I created a private chain of three nodes, because of power failure, the data of the three nodes are damaged, now I play data with --hard-replay-blockchain, each node has the following error, how can I operate to restore my chain
info 2019-04-23T01:14:09.734 thread-0 block_log.cpp:368 repair_log ] Recovering Block Log...
info 2019-04-23T01:14:09.735 thread-0 block_log.cpp:388 repair_log ] Moved existing blocks directory to backup location: '/home/eos3/suanni_inte/data/blocks-2019-04-23T01:14:09.734'
info 2019-04-23T01:14:09.747 thread-0 block_log.cpp:393 repair_log ] Reconstructing '/home/eos3/suanni_inte/data/blocks/blocks.log' from backed up block log
info 2019-04-23T01:18:29.569 thread-0 block_log.cpp:520 repair_log ] Stopped recovery of block log early at specified block number: 14480000.
info 2019-04-23T01:18:29.599 thread-0 chain_plugin.cpp:802 recover_reversible_b ] Reconstructing '/home/eos3/suanni_inte/data/blocks/reversible' from backed up reversible directory
info 2019-04-23T01:18:29.650 thread-0 chain_plugin.cpp:822 recover_reversible_b ] Did not recover any reversible blocks since the specified block number to stop at (14480000) is less than first block in the reversible database (14602018).
info 2019-04-23T01:18:29.724 thread-0 block_log.cpp:134 open ] Log is nonempty
info 2019-04-23T01:18:29.725 thread-0 block_log.cpp:178 open ] Index is empty
info 2019-04-23T01:18:29.725 thread-0 block_log.cpp:330 construct_index ] Reconstructing Block Log Index...
warn 2019-04-23T01:18:48.117 thread-0 producer_plugin.cpp:610 plugin_initialize ] "private-key" is DEPRECATED, use "signature-provider=EOS6gXBxr5R11L2kVvkPo2oWt4BBgNT3J2r8ZJ1Ymvuot6FQM9ses=KEY:***************************************************"
info 2019-04-23T01:18:48.117 thread-0 http_plugin.cpp:422 plugin_initialize ] configured http to listen on 127.0.0.1:8889
info 2019-04-23T01:18:48.118 thread-0 net_plugin.cpp:2901 plugin_initialize ] Initialize net plugin
info 2019-04-23T01:18:48.120 thread-0 net_plugin.cpp:2927 plugin_initialize ] host: 0.0.0.0 port: 9877
info 2019-04-23T01:18:48.121 thread-0 net_plugin.cpp:2998 plugin_initialize ] my node_id is 9593bfdac4eb4a230ab6617ea91887a1ad93b77cf2731b4e3808b947a5c6be28
info 2019-04-23T01:18:48.121 thread-0 http_plugin.cpp:377 operator() ] configured http with Access-Control-Allow-Origin: *
info 2019-04-23T01:18:48.121 thread-0 main.cpp:110 main ] nodeos version mainnet-1.4.3-dirty
info 2019-04-23T01:18:48.121 thread-0 main.cpp:111 main ] eosio root is /home/eos3/.local/share
info 2019-04-23T01:18:48.121 thread-0 main.cpp:112 main ] nodeos using configuration file /home/eos3/suanni_inte/config/config.ini
info 2019-04-23T01:18:48.122 thread-0 main.cpp:113 main ] nodeos data directory is /home/eos3/suanni_inte/data
error 2019-04-23T01:18:48.123 thread-0 controller.cpp:1596 startup ] No head block in fork db, perhaps we need to replay
warn 2019-04-23T01:18:48.123 thread-0 controller.cpp:574 initialize_fork_db ] Initializing new blockchain with genesis state
info 2019-04-23T01:18:48.220 thread-0 controller.cpp:304 replay ] existing block log, attempting to replay 14480000 blocks
info 2019-04-23T01:18:48.221 thread-0 transaction_context.cp:103 deadline_timer ] Using 138us deadline timer for checktime: min:19us max:805us mean:53us stddev:42us
warn 2019-04-23T03:15:50.450 thread-0 controller.cpp:1254 push_block ] 3170003 producer_double_confirm: Producer is double confirming known range
producer eosio11 double-confirming known range
{"prod":"eosio11"}
thread-0 block_header_state.cpp:158 next
error 2019-04-23T03:15:54.879 thread-0 main.cpp:132 main ] 3170003 producer_double_confirm: Producer is double confirming known range
producer eosio11 double-confirming known range
{"prod":"eosio11"}
thread-0 block_header_state.cpp:158 next
rethrow
{}
thread-0 controller.cpp:1254 push_block
{}
thread-0 chain_plugin.cpp:714 plugin_startup
@jgiszczak Edited for readability.
Is there some reason you're stopping the replay on block 14480000 rather than letting it continue through 14602017? Your chain will not begin producing and accepting new blocks properly until all nodes complete their replay.
I added the truncate-at-block 14480000 parameter when replay I didn't add the truncate at the beginning, Both the Producer is double confirming known range error, then the program crashes How can I operate to avoid the above errors and restore the chain to normal
Do not truncate-at-block.
I did not add the truncate-at-block parameter to report the same error
One of your producer nodes did not successfully replay and is generating blocks it doesn't know the other nodes already have. You should examine each node's log carefully and find the node that did not replay and restart it, probably with --hard-replay-blockchain.
Every node is added with --hard-replay-blockchain, which is the same error, what is the cause of this error??
One of your nodes does not have the chain and is attempting to produce blocks the other nodes already have. You need to isolate and disable that node.
No activity on support ticket in months; closing