forked from brianfrankcooper/YCSB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[s3] Remove unnecessary getObjectMetadata() from getS3ObjectAndMetada…
…ta() (brianfrankcooper#1060) * Remove unnecessary getObjectMetadata() from getS3ObjectAndMetadata() ObjectMetadata is available from S3Object.getObjectMetadata(). We don't need to send a separate GetObjectMetadata Request (an HTTP HEAD request), in order to get the metadata. This will double performance for read workloads. Signed-off-by: Xing Lin <[email protected]> * Remove one unused import to pass style check. Signed-off-by: Xing Lin <[email protected]> (cherry picked from commit 381aaeb)
- Loading branch information
Showing
1 changed file
with
8 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters