Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pruning storer fixes #3562

Merged
merged 3 commits into from
Nov 6, 2021
Merged

Pruning storer fixes #3562

merged 3 commits into from
Nov 6, 2021

Conversation

iulianpascalau
Copy link
Contributor

  • fixed concurrent persisters opening
  • fixed a leaking pointer on an opened persister

- fixed a leaking pointer on an opened persister
}

p.setPersisterAndIsClosed(db, false)
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

The method name is confusing

@codecov
Copy link

codecov bot commented Nov 5, 2021

Codecov Report

Merging #3562 (d85f95c) into development (3ac9bce) will decrease coverage by 0.00%.
The diff coverage is 69.23%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #3562      +/-   ##
===============================================
- Coverage        73.90%   73.90%   -0.01%     
===============================================
  Files              581      581              
  Lines            74680    74682       +2     
===============================================
  Hits             55193    55193              
- Misses           15078    15079       +1     
- Partials          4409     4410       +1     
Impacted Files Coverage Δ
storage/pruning/fullHistoryPruningStorer.go 74.57% <0.00%> (ø)
storage/pruning/pruningStorer.go 69.16% <75.00%> (+0.12%) ⬆️
p2p/libp2p/netMessenger.go 74.72% <0.00%> (-0.28%) ⬇️

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 eae28d4...d85f95c. Read the comment docs.

Copy link
Contributor

@bogdan-rosianu bogdan-rosianu left a comment

Choose a reason for hiding this comment

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

good catch 👍

}

p.setPersisterAndIsClosed(db, false)
Copy link
Contributor

Choose a reason for hiding this comment

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

The method name is confusing

@iulianpascalau
Copy link
Contributor Author

good catch +1

👍 good catch

Copy link
Collaborator

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

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

System test passed.
image

@gabi-vuls gabi-vuls merged commit ea1a107 into development Nov 6, 2021
@gabi-vuls gabi-vuls deleted the pruning-fixes-2021.11.05 branch November 6, 2021 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants