Skip to content

Conversation

@peterbroadhurst
Copy link
Contributor

Fixes #254

The problem in the stack, is that we were creating separate mutexes for locking, but passing the same root map down in the config objects. So this cleans up the code to a single mutex, and makes it more clear there's a single root map.

@codecov-commenter
Copy link

Codecov Report

Merging #255 (e1c215d) into main (ed01763) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
- Coverage   99.55%   99.53%   -0.03%     
==========================================
  Files         217      217              
  Lines       12181    12178       -3     
==========================================
- Hits        12127    12121       -6     
- Misses         40       42       +2     
- Partials       14       15       +1     
Impacted Files Coverage Δ
internal/config/config.go 100.00% <100.00%> (ø)
internal/blockchain/fabric/fabric.go 88.62% <0.00%> (-1.01%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed01763...e1c215d. Read the comment docs.

Copy link
Contributor

@nguyer nguyer left a comment

Choose a reason for hiding this comment

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

I'm guessing this PR has the same drop in coverage that the other one did. Other than that, looks good.

@peterbroadhurst peterbroadhurst merged commit e1c215d into hyperledger:main Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concurrent map read/write - intermittent build failure

4 participants