Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Move Engine::register_client to be before other I/O handler registration #10767

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

sorpaas
Copy link
Collaborator

@sorpaas sorpaas commented Jun 20, 2019

This moves Engine::register_client to be right after client instantiation. Previously we register some I/O handlers first. Those I/O handlers may be triggered before the service finished Engine::register_client, thus results in RequiresClient error.

Might help #10085, but I'm not sure, as I have never reproduced it.

@sorpaas sorpaas added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jun 20, 2019
@ordian ordian added this to the 2.6 milestone Jun 21, 2019
@ordian ordian added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jun 21, 2019
@dvdplm
Copy link
Collaborator

dvdplm commented Jun 24, 2019

@ordian did you mean to approve this PR?

@sorpaas sorpaas merged commit 02eb046 into master Jun 24, 2019
@sorpaas sorpaas deleted the sp-register-early branch June 24, 2019 13:10
dvdplm added a commit that referenced this pull request Jun 25, 2019
…anager

* master:
  Treat empty account the same as non-exist accounts in EIP-1052 (#10775)
  docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652)
  Move Engine::register_client to be before other I/O handler registration (#10767)
dvdplm added a commit that referenced this pull request Jun 25, 2019
…dp/fix/prevent-building-block-on-top-of-same-parent

* dp/chore/aura-log-validator-set-in-epoch-manager:
  remove dead code
  Treat empty account the same as non-exist accounts in EIP-1052 (#10775)
  docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652)
  cleanup
  On second thought non-validators are allowed to report
  Move Engine::register_client to be before other I/O handler registration (#10767)
  cleanup
  Print warnings when using dangerous settings for ValidatorSet (#10733)
  ethcore/res: activate atlantis classic hf on block 8772000 (#10766)
  refactor: Fix indentation (#10740)
  Updated Bn128PairingImpl to use optimized batch pairing  (#10765)
  fix: aura don't add `SystemTime::now()` (#10720)
  Initialize private tx logger only if private tx functionality is enabled (#10758)
  Remove unused code (#10762)
  Remove calls to heapsize (#10432)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants