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

[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

Closed
jackzhhuang opened this issue May 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jackzhhuang
Copy link
Collaborator

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"

@jackzhhuang jackzhhuang added the bug Something isn't working label May 12, 2024
@jackzhhuang jackzhhuang self-assigned this May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant