-
Notifications
You must be signed in to change notification settings - Fork 433
feat(storage): Update the appendable object function to store the Object metadata #15422
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
Conversation
465cd65 to
38e680e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15422 +/- ##
==========================================
- Coverage 93.04% 93.03% -0.01%
==========================================
Files 2408 2408
Lines 219826 219826
==========================================
- Hits 204529 204523 -6
- Misses 15297 15303 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9735c9f to
3c7459e
Compare
3c7459e to
2c8a48f
Compare
scotthart
left a comment
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.
@scotthart reviewed 2 of 5 files at r1, 2 of 2 files at r3, 2 of 3 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @v-pratap)
google/cloud/storage/internal/async/writer_connection_impl.cc line 67 at r5 (raw file):
std::move(options), std::move(request), std::move(impl), std::move(hash_function), PersistedStateType(metadata), /*offset=*/metadata.size(), std::move(first_request)) {}
There's no benefit (and possibly even a pessimization) to std::move on a bool, or any other fundamental data type.
|
/gcbrun |
For the the first connection in appendable object upload, we are getting object metadata in response, but we were only storing persisted size out of it, so updating the code so that we will store the object metadata.
This change is