Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

SHiP move all network operations another thread - 2.2.x #10608

Merged

Conversation

huangminghuang
Copy link
Contributor

Change Description

This PR cherrypicks the commits from PR #10513 and PR #10597 to

  • create an additional thread for all ship network communication,
  • fix bug where state history plugin would send blocks with block_num smaller than the client requests when the state history block head is behind the block head of the client,
    -stop the application when it fails to listen on the configured state history port.

Change Type

Select ONE:

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Testing Changes

Select ANY that apply:

  • New Tests
  • Existing Tests
  • Test Framework
  • CI System
  • Other

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

# Conflicts:
#	plugins/state_history_plugin/state_history_plugin.cpp

add session_manager

some code cleanup

tmp

# Conflicts:
#	plugins/state_history_plugin/state_history_plugin.cpp
@huangminghuang huangminghuang requested a review from heifner August 9, 2021 14:45
@heifner heifner changed the title move all network operations another thread SHiP move all network operations another thread - 2.2.x Aug 9, 2021
@heifner
Copy link
Contributor

heifner commented Aug 9, 2021

#10607 release/2.2.x

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants