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 frames leak when VfsPoll fails #713

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

cole-miller
Copy link
Contributor

VfsPoll can fail to acquire the WAL write lock, and the caller still needs to release the frames of the transaction in this case. Restores the behavior from before the exec_tick rewrite. Hat tip @marco6.

Signed-off-by: Cole Miller [email protected]

VfsPoll can fail to acquire the WAL write lock, and the caller still
needs to release the frames of the transaction in this case. Restores
the behavior from before the exec_tick rewrite.

Signed-off-by: Cole Miller <[email protected]>
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

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

Project coverage is 81.02%. Comparing base (06992a6) to head (35a3242).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
src/leader.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
+ Coverage   80.95%   81.02%   +0.06%     
==========================================
  Files         196      196              
  Lines       29186    29187       +1     
  Branches     4089     4091       +2     
==========================================
+ Hits        23627    23648      +21     
+ Misses       3895     3881      -14     
+ Partials     1664     1658       -6     

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

@cole-miller cole-miller merged commit f48c244 into canonical:master Oct 17, 2024
12 of 13 checks passed
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