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

Fix for cleos and keosd race condition - 2.0 #9065

Merged
merged 1 commit into from
May 8, 2020

Conversation

revl
Copy link
Contributor

@revl revl commented May 8, 2020

Change Description

Port changes from PR #8671.
These changes were supposed to fix the problem of keosd auto-start by cleos, which manifests itself in the following error message:

$ ./programs/cleos/cleos wallet list
.../programs/keosd/keosd" launched
Unable to connect to keosd, if keosd is running please kill the
...process and try again.

I cannot confirm that the fix works, but the patch from #8671 is applied verbatim without conflicts.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

These changes were supposed to fix the problem of keosd auto-start by
cleos, which manifests itself in the following error message:

    $ ./programs/cleos/cleos wallet list
    .../programs/keosd/keosd" launched
    Unable to connect to keosd, if keosd is running please kill the
    ...process and try again.

I cannot confirm that the fix works, but the patch from #8671 is applied
verbatim without conflicts.
@revl revl requested a review from spoonincode May 8, 2020 00:05
Copy link
Contributor

@spoonincode spoonincode left a comment

Choose a reason for hiding this comment

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

As far as I can tell indeed the patch from #8671 should be applied to 2.0. 2.0's http_plugin uses fc::thread_pool which is what caused the regression in the first place. It was probably oversight that this wasn't ported back to begin with (the original issue report explicitly called out develop which may have helped this fall through the cracks)

@heifner heifner changed the title Port changes from PR #8671 - 2.0 Fix for cleos and keosd race condition - 2.0 May 8, 2020
@revl revl merged commit d8a7583 into release/2.0.x May 8, 2020
@revl revl deleted the cleos-keods-race-2.0 branch May 8, 2020 15:56
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