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

[aspen] - fixed issues with concurrent modification of cluster store #772

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

emilbon99
Copy link
Contributor

Fix Pull Request Template

Key Information

Description

Fixes an issue where the aspen store that holds information about a cluster concurrently reads and writes from a map. Adjusts the implementation of PeekState in x/go/store to hold a mutex until it is released.

Basic Readiness Checklist

  • I have performed a self-review of my code.
  • I have added sufficient regression tests to cover the changes to CI.
  • I have added relevant tests to cover the changes or exposing bugs.
  • I have verified code coverage targets are met.

Additional Notes

  • These changes deal with concurrency.
  • These changes affect UI.

Manual QA Additions

  • I have updated the Release Candidate template
    with necessary manual QA steps to test my change.

Reviewer Checklist

  • Sufficient test coverage of new additions.
  • Verified all steps in readiness checklists.
  • UI changes have been tested.
  • style and formatting is consistent.
  • Reviewed any relevant changes to concurrent code for safety.
  • Sufficient comments and clarity of code.

Copy link

vercel bot commented Aug 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 16, 2024 6:25pm

@emilbon99 emilbon99 requested a review from Lham42 August 16, 2024 18:25
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 82.85714% with 6 lines in your changes missing coverage. Please review.

Project coverage is 47.34%. Comparing base (0d29c58) to head (94be57f).
Report is 2 commits behind head on rc.

Files Patch % Lines
aspen/internal/cluster/store/store.go 53.84% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               rc     #772      +/-   ##
==========================================
+ Coverage   47.31%   47.34%   +0.02%     
==========================================
  Files        1082     1082              
  Lines       65734    65757      +23     
  Branches     3483     3483              
==========================================
+ Hits        31103    31133      +30     
+ Misses      33603    33596       -7     
  Partials     1028     1028              
Flag Coverage Δ
aspen 50.47% <81.81%> (+0.32%) ⬆️
cesium 75.32% <ø> (-0.05%) ⬇️
clientpy 81.97% <ø> (ø)
clientts 77.61% <ø> (ø)
gox 59.17% <ø> (ø)
synnax 28.73% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@emilbon99 emilbon99 merged commit cf5a49b into rc Aug 16, 2024
52 checks passed
@pjdotson pjdotson deleted the sy-1075-fix-aspen-concurrent-map-read-write branch September 4, 2024 00:23
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.

2 participants