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

Disable deadlock permutations in merge chunks tests #7595

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erimatnor
Copy link
Contributor

@erimatnor erimatnor commented Jan 16, 2025

The merge chunks functionality can use a "lock upgrade" approach that allows reads during the merge. However, this is not the default approach since it can lead to deadlocks. Some isolation test permutations were added to illustrate deadlocks for the "lock upgrade" approach, but since it can lead to either process being killed the test output is not deterministic.

Also add two new permutations for the non-lock-upgrade approach that show it does not deadlock for concurrent reads and writes.

Disable-check: force-changelog-file

The merge chunks functionality can use a "lock upgrade" approach that
allows reads during the merge. However, this is not the default
approach since it can lead to deadlocks. Some isolation test
permutations were added to illustrate deadlocks for the "lock upgrade"
approach, but since it can lead to either process being killed the
test output is not deterministic.

Also add two new permutations for the non-lock-upgrade approach that
show it does not deadlock for concurrent reads and writes.
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.24%. Comparing base (59f50f2) to head (8483b9e).
Report is 700 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7595      +/-   ##
==========================================
+ Coverage   80.06%   82.24%   +2.17%     
==========================================
  Files         190      238      +48     
  Lines       37181    44139    +6958     
  Branches     9450    11101    +1651     
==========================================
+ Hits        29770    36300    +6530     
- Misses       2997     3451     +454     
+ Partials     4414     4388      -26     

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

@erimatnor erimatnor marked this pull request as ready for review January 16, 2025 09:58
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.

1 participant