Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(core-clp): Postpone GlobalMetadataDB updates until archive writing finishes (fixes #685). #705
base: main
Are you sure you want to change the base?
feat(core-clp): Postpone GlobalMetadataDB updates until archive writing finishes (fixes #685). #705
Changes from all commits
1c13138
faecdf9
5d7aa3b
91f868f
719b97b
4f1e6c6
962d61f
957edbf
3b0b37a
8e59e74
8aaff6f
363cd56
48b0779
846062b
920cfb8
0628636
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
🛠️ Refactor suggestion
Improve error handling and condition check.
The implementation is correct, but there are a few improvements that can be made:
Apply this diff to improve the code:
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.
ditto comment for deleting m_files_written.
You might also need to mention about exceptions if m_global_metadata_db's api throws any.
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.
Removed the delete out of the function. None of the functions I am calling have any documented exceptions in the .hpp file.