Skip to content
Snippets Groups Projects
user avatar
Xing Lin authored
* 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: default avatarXing Lin <Xing.Lin@netapp.com>

* Remove one unused import to pass style check.

Signed-off-by: default avatarXing Lin <xing.lin@netapp.com>
(cherry picked from commit 381aaebc83476e1d1c844f6db207f336bea4f8c6)
a85b8273
History
Name Last commit Last update
..