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

feat(shwap): Improve eds store cache refcounter forgot Close() protection #3638

Merged
merged 1 commit into from
Aug 8, 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
  • close Accessor on has check hitting the cache

@walldiss walldiss added kind:feat Attached to feature PRs shwap labels Aug 8, 2024
@walldiss walldiss self-assigned this Aug 8, 2024
Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

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

LGTM but would port the refCloser part and force closing to main as well

@walldiss walldiss merged commit 36bb8e6 into celestiaorg:shwap Aug 8, 2024
16 of 20 checks passed
@walldiss walldiss deleted the fix-store-cache branch August 8, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feat Attached to feature PRs shwap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants