Skip to content

Use OpenTransientFile() instead of BasicOpenFile() #400

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Jun 6, 2025

By using OpenTransientFile() we do not have to close file descriptors on error plus PostgreSQL will check if we have forgot to close any files on commit.

This change made us find one instance where we had forgot to close a file which is also fixed in this commit.

By using OpenTransientFile() we do not have to close file descriptors on
error plus PostgreSQL will check if we have forgot to close any files on
commit.

This change made us find one instance where we had forgot to close a
file which is also fixed in this commit.
@jeltz jeltz requested review from dutow and dAdAbird as code owners June 6, 2025 14:07
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 93.54839% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.69%. Comparing base (4575c03) to head (a4ff24d).

❌ Your project status has failed because the head coverage (85.69%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           TDE_REL_17_STABLE     #400      +/-   ##
=====================================================
+ Coverage              85.48%   85.69%   +0.20%     
=====================================================
  Files                     22       22              
  Lines                   2536     2531       -5     
  Branches                 387      388       +1     
=====================================================
+ Hits                    2168     2169       +1     
+ Misses                   294      288       -6     
  Partials                  74       74              
Components Coverage Δ
access 84.40% <100.00%> (+0.20%) ⬆️
catalog 88.90% <87.50%> (+0.30%) ⬆️
common 91.80% <ø> (ø)
encryption 72.56% <ø> (ø)
keyring 72.77% <87.50%> (+0.34%) ⬆️
src 91.42% <ø> (ø)
smgr 97.43% <ø> (+0.01%) ⬆️
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeltz jeltz merged commit e636b10 into percona:TDE_REL_17_STABLE Jun 6, 2025
16 checks passed
@jeltz jeltz deleted the tde/pg-file-api branch June 6, 2025 15:11
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.

3 participants