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

SecretStore: non-blocking wait of session completion #10303

Merged
merged 5 commits into from
Jun 6, 2019

Conversation

svyatonik
Copy link
Collaborator

closes #10266
on top of #9850 (commits before this one are from separate PR) - 'onicing' it until previous PR is merged

This PR makes SS sessions return Futures, so that Runtime threads aren't blocked with Session::wait() calls.

cc @jcortejoso

@svyatonik svyatonik added A0-pleasereview 🤓 Pull request needs code review. A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. labels Feb 6, 2019
@svyatonik svyatonik changed the title Fix ss blocking wait SecretStore: non-blocking wait of session completion Feb 6, 2019
@5chdn 5chdn added this to the 2.4 milestone Feb 7, 2019
@5chdn 5chdn added the M4-core ⛓ Core client code / Rust. label Feb 7, 2019
@jcortejoso
Copy link

Hi! We were using the old commit for two weeks and we stop suffering the connection issues with secret store. Do you think this can be merged soon?

@jam10o-new jam10o-new added B0-patch-stable 🕷 Pull request should also be back-ported to the stable branch. B1-patch-beta 🕷🕷 labels Feb 20, 2019
@jam10o-new
Copy link
Contributor

@svyatonik I'm getting rid of onice because previous pr has been merged

@jam10o-new jam10o-new removed the A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. label Feb 20, 2019
@5chdn 5chdn modified the milestones: 2.4, 2.5, 2.6 Feb 21, 2019
@jcortejoso jcortejoso mentioned this pull request Mar 1, 2019
@soc1c soc1c modified the milestones: 2.5, 2.6 Apr 2, 2019
Copy link
Collaborator

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like excellent stuff! Can you rebase to make the diff a little less noisy?

@dvdplm dvdplm requested a review from grbIzl June 4, 2019 17:24
@dvdplm dvdplm added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jun 4, 2019
@svyatonik svyatonik removed the A8-looksgood 🦄 Pull request is reviewed well. label Jun 5, 2019
@svyatonik svyatonik added the A7-looksgoodcantmerge 🙄 Pull request is reviewed well, but cannot be merged due to conflicts. label Jun 5, 2019
@svyatonik svyatonik added A8-looksgood 🦄 Pull request is reviewed well. and removed A7-looksgoodcantmerge 🙄 Pull request is reviewed well, but cannot be merged due to conflicts. labels Jun 6, 2019
Copy link
Collaborator

@grbIzl grbIzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@svyatonik svyatonik merged commit 9de1afe into master Jun 6, 2019
@svyatonik svyatonik deleted the fix_ss_blocking_wait branch June 6, 2019 10:35
dvdplm added a commit that referenced this pull request Jun 6, 2019
* master:
  SecretStore: non-blocking wait of session completion (#10303)
  removed secret_store folder (#10722)
  SecretStore: expose restore_key_public in HTTP API (#10241)
  Revert "enable lto for release builds (#10717)" (#10721)
This was referenced Jun 11, 2019
dvdplm added a commit that referenced this pull request Jun 17, 2019
* master:
  updater: fix static id hashes initialization (#10755)
  Use fewer threads for snapshotting (#10752)
  Die error_chain, die (#10747)
  Fix deprectation warnings on nightly (#10746)
  fix docker tags for publishing (#10741)
  DevP2p: Get node IP address and udp port from Socket, if not included in PING packet (#10705)
  ethcore: enable ECIP-1054 for classic (#10731)
  Stop breaking out of loop if a non-canonical hash is found (#10729)
  Refactor Clique stepping (#10691)
  Use RUSTFLAGS to set the optimization level (#10719)
  SecretStore: non-blocking wait of session completion (#10303)
  removed secret_store folder (#10722)
  SecretStore: expose restore_key_public in HTTP API (#10241)
  Revert "enable lto for release builds (#10717)" (#10721)
  enable lto for release builds (#10717)
  Merge `Notifier` and `TransactionsPoolNotifier` (#10591)
dvdplm added a commit that referenced this pull request Jun 18, 2019
* master:
  Enable aesni (#10756)
  remove support of old SS db formats (#10757)
  [devp2p] Don't use `rust-crypto` (#10714)
  updater: fix static id hashes initialization (#10755)
  Use fewer threads for snapshotting (#10752)
  Die error_chain, die (#10747)
  Fix deprectation warnings on nightly (#10746)
  fix docker tags for publishing (#10741)
  DevP2p: Get node IP address and udp port from Socket, if not included in PING packet (#10705)
  ethcore: enable ECIP-1054 for classic (#10731)
  Stop breaking out of loop if a non-canonical hash is found (#10729)
  Refactor Clique stepping (#10691)
  Use RUSTFLAGS to set the optimization level (#10719)
  SecretStore: non-blocking wait of session completion (#10303)
  removed secret_store folder (#10722)
  SecretStore: expose restore_key_public in HTTP API (#10241)
  Revert "enable lto for release builds (#10717)" (#10721)
  enable lto for release builds (#10717)
  Merge `Notifier` and `TransactionsPoolNotifier` (#10591)
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. B0-patch-stable 🕷 Pull request should also be back-ported to the stable branch. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Secret Store Nodes eventually disconnects
7 participants