-
Notifications
You must be signed in to change notification settings - Fork 659
Open
Labels
1b User StoryThe User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)2b Gathering RequirementsStatus indicating currently refining User Stories and defining RequirementsStatus indicating currently refining User Stories and defining Requirements3c EnhancementClassification indicating a change to the functionality of the existing imlementationClassification indicating a change to the functionality of the existing imlementation6 P2PImpact flag identifying the peer-to-peer (P2P) layerImpact flag identifying the peer-to-peer (P2P) layer6 PerformanceImpacts flag identifying system/user efficiency, performance, etc.Impacts flag identifying system/user efficiency, performance, etc.loggingperformance
Milestone
Description
After firstly synced, when witness_node is in normal running mode, I noticed lots of messages in p2p.log (with log level warn):
p2p:message read_loop process_ordinary_mes ] client rejected message sent by peer xxx.xxx.xxx.xxx {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"db_block.cpp","line":579,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"x"},"format":"(skip & skip_transaction_dupe_check) || trx_idx.indices().get<by_trx_id>().find(trx_id) == trx_idx.indices().get<by_trx_id>().end():
This occurs when p2p failed to push a transaction to object database.
Possible optimization:
- p2p layer don't push duplicate transactions / blocks to chain logic layer. I think there is already a mechanism about this, but perhaps possible to improve, btw duplicate 'Got Block' notices on pre-hf and hf version 2.0.171105a #517 is related.
- Reduce level of this logging message if it's expected to occur a lot
Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
1b User StoryThe User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)2b Gathering RequirementsStatus indicating currently refining User Stories and defining RequirementsStatus indicating currently refining User Stories and defining Requirements3c EnhancementClassification indicating a change to the functionality of the existing imlementationClassification indicating a change to the functionality of the existing imlementation6 P2PImpact flag identifying the peer-to-peer (P2P) layerImpact flag identifying the peer-to-peer (P2P) layer6 PerformanceImpacts flag identifying system/user efficiency, performance, etc.Impacts flag identifying system/user efficiency, performance, etc.loggingperformance