[Bug Report] When synchronizing, the task report error: Sync task is interrupted by block header with smaller height but having parents, cause:"block header with smaller height but having parents #4056
Labels
bug
Something isn't working
2024-05-12T14:59:09.806660+08:00 INFO - [sync] Start sync block, ancestor: BlockIdAndNumber { id: HashValue(0x0834a403116300ca29464fd752df823e8dbae49714c50c41ddba7fc4c5247635), number: 1000 }, start_number: 1001, check_local_store: true, target_number: 2000
2024-05-12T14:59:09.815963+08:00 INFO - starcoin_sync::tasks::block_sync_task::BlockSyncTask started
2024-05-12T14:59:09.816171+08:00 INFO - [network-rpc] call method: "get_blocks_v1", peer_id:PeerId(PeerId("12D3KooWFvCKQ1n2JkSQpn8drqGwU27vTPkKx264zD4CFbgaKDJU")) args: [HashValue(0xb69f61efa4282300049296a4aca3ad8c0fefd2ca3f6b0e93b10c79fe9b2e053a)]
2024-05-12T14:59:09.816621+08:00 INFO - 1088 12D3KooWFvCKQ1n2JkSQpn8drqGwU27vTPkKx264zD4CFbgaKDJU /starcoin/rpc/get_blocks_v1 34
2024-05-12T14:59:09.945944+08:00 INFO - [network-p2p] receive notification from 12D3KooWFvCKQ1n2JkSQpn8drqGwU27vTPkKx264zD4CFbgaKDJU /starcoin/block/1 1143
2024-05-12T14:59:09.946707+08:00 INFO block_relay_time 041343a9e2eddda0910a4f1b425145082cc47fb50947efd0a8e271558ae56529 2.326, action: block_relay_time, hash: 041343a9e2eddda0910a4f1b425145082cc47fb50947efd0a8e271558ae56529, time_sec: 2.326
2024-05-12T14:59:10.027456+08:00 INFO - 1088 /starcoin/rpc/get_blocks_v1 289 true 210
2024-05-12T14:59:10.028068+08:00 INFO - now sync dag block -- ensure_dag_parent_blocks_exist
2024-05-12T14:59:10.028217+08:00 INFO - [network-rpc] call method: "get_blocks_v1", peer_id:PeerId(PeerId("12D3KooWFvCKQ1n2JkSQpn8drqGwU27vTPkKx264zD4CFbgaKDJU")) args: [HashValue(0xa5f0c2bcbac16d49e7160384444ea7a1576c1ced3c71bfe3b3fbaa2a35534707)]
2024-05-12T14:59:10.028847+08:00 INFO - 1089 12D3KooWFvCKQ1n2JkSQpn8drqGwU27vTPkKx264zD4CFbgaKDJU /starcoin/rpc/get_blocks_v1 34
2024-05-12T14:59:10.253479+08:00 INFO - 1089 /starcoin/rpc/get_blocks_v1 289 true 224
2024-05-12T14:59:10.256286+08:00 WARN - [sync] Sync task is interrupted by block header with smaller height but having parents, cause:"block header with smaller height but having parents"
The text was updated successfully, but these errors were encountered: