-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactor and expose cache_fragment_metadata() as api #178
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ng_perf_11142024 #178 +/- ##
====================================================
+ Coverage 63.93% 64.04% +0.11%
====================================================
Files 58 58
Lines 16425 16446 +21
Branches 2951 2960 +9
====================================================
+ Hits 10501 10533 +32
+ Misses 5793 5783 -10
+ Partials 131 130 -1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
} | ||
free(buffer); | ||
if (unlock_file(fd)) { | ||
RETURN_ERRMSG_PATH("Could not close file", bookkeeping_path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to delete the file for cleanup in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!
…ays (#177) * Support caching of bookkeeping files locally for cloud workspaces/arrays * remove azurite for now, needs new certificates * Codecov now needs token even for public repositories * Test TILEDB_CACHE and TILEDB_BOOKKEEPING_STATS flows * Add tests for code coverage * Refactor and expose cache_fragment_metadata() as api (#178) * Add cache_fragment_metadata to TileDBUtils to expose this functionality as api * Don't leak file handles in error conditions * Copyright update
Add cache_fragment_metadata to TileDBUtils to expose this functionality as api.