Homec4science
Diffusion YCSB a85b827333e3

[s3] Remove unnecessary getObjectMetadata() from getS3ObjectAndMetadata()…

Authored by Xing Lin <linxingnku@gmail.com> on Dec 2 2017, 22:20.

Description

[s3] Remove unnecessary getObjectMetadata() from getS3ObjectAndMetadata() (#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 <Xing.Lin@netapp.com>

  • Remove one unused import to pass style check.

Signed-off-by: Xing Lin <xing.lin@netapp.com>
(cherry picked from commit 381aaebc83476e1d1c844f6db207f336bea4f8c6)

Details

Committed
Sean Busbey <sean.busbey@gmail.com>May 24 2018, 06:07
Pushed
iorgulescuOct 2 2018, 18:02
Parents
R7507:b7704ce4b6b4: [licensing] add missing headers called out by the RAT plugin.
Branches
Unknown
Tags
Unknown

Event Timeline

Sean Busbey <sean.busbey@gmail.com> committed R7507:a85b827333e3: [s3] Remove unnecessary getObjectMetadata() from getS3ObjectAndMetadata()… (authored by Xing Lin <linxingnku@gmail.com>).May 24 2018, 06:07