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

Feature/archive callback #24

Merged
merged 4 commits into from
Jul 2, 2024
Merged

Feature/archive callback #24

merged 4 commits into from
Jul 2, 2024

Conversation

ChrisspyB
Copy link
Member

API for registering a callback function foo(key, location), to be called upon archiving to the Store.

@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.49%. Comparing base (29420df) to head (e4743c2).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #24      +/-   ##
===========================================
+ Coverage    63.36%   63.49%   +0.13%     
===========================================
  Files          235      236       +1     
  Lines        13343    13391      +48     
  Branches      1288     1291       +3     
===========================================
+ Hits          8455     8503      +48     
  Misses        4888     4888              

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

Copy link
Contributor

@simondsmart simondsmart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor tweaks. Please see comments.

src/fdb5/api/FDB.h Outdated Show resolved Hide resolved
src/fdb5/api/FDBFactory.h Outdated Show resolved Hide resolved
src/fdb5/api/FDB.h Outdated Show resolved Hide resolved
src/fdb5/api/FDB.h Show resolved Hide resolved
src/fdb5/api/LocalFDB.cc Outdated Show resolved Hide resolved
src/fdb5/database/BaseArchiveVisitor.h Outdated Show resolved Hide resolved
src/fdb5/database/DB.cc Outdated Show resolved Hide resolved
tests/fdb/api/test_archive_callback.cc Outdated Show resolved Hide resolved
tests/fdb/api/test_archive_callback.cc Outdated Show resolved Hide resolved
tests/fdb/api/test_archive_callback.cc Outdated Show resolved Hide resolved
@ChrisspyB
Copy link
Member Author

We decided to not return a key from the archive method, and also decided not to bother propgating this change to the C API just yet

@ChrisspyB ChrisspyB requested a review from simondsmart June 27, 2024 15:28
@simondsmart simondsmart merged commit bd6cef6 into develop Jul 2, 2024
104 of 105 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.

3 participants