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

fix(store/cache): force close Accessor if not closed within timeout #3642

Merged
merged 5 commits into from
Aug 20, 2024

Conversation

walldiss
Copy link
Member

@walldiss walldiss commented Aug 8, 2024

  • Force close Accessor if not closed within timeout

close Accessor and log Error if ref was removed by GC instead of user
Wondertan
Wondertan previously approved these changes Aug 8, 2024
@Wondertan Wondertan added the kind:fix Attached to bug-fixing PRs label Aug 8, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 45.67%. Comparing base (2469e7a) to head (3a73508).
Report is 168 commits behind head on main.

Files Patch % Lines
share/eds/cache/accessor_cache.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3642      +/-   ##
==========================================
+ Coverage   44.83%   45.67%   +0.83%     
==========================================
  Files         265      281      +16     
  Lines       14620    16042    +1422     
==========================================
+ Hits         6555     7327     +772     
- Misses       7313     7873     +560     
- Partials      752      842      +90     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

renaynay
renaynay previously approved these changes Aug 14, 2024
share/eds/cache/accessor_cache.go Outdated Show resolved Hide resolved
@walldiss walldiss dismissed stale reviews from renaynay and Wondertan via 553aad2 August 14, 2024 12:40
Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

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

Okay

@walldiss walldiss enabled auto-merge (squash) August 20, 2024 15:36
@walldiss walldiss merged commit 682c2b4 into celestiaorg:main Aug 20, 2024
23 of 29 checks passed
walldiss added a commit to walldiss/celestia-node that referenced this pull request Aug 21, 2024
Wondertan pushed a commit that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:fix Attached to bug-fixing PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants