Elek, Marton created HDDS-2131:
----------------------------------
Summary: Optimize replication type and creation time calculation
in S3 MPU list call
Key: HDDS-2131
URL: https://issues.apache.org/jira/browse/HDDS-2131
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Reporter: Elek, Marton
Based on the review from [~bharatviswa]:
{code}
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
metadataManager.getOpenKeyTable();
OmKeyInfo omKeyInfo =
openKeyTable.get(upload.getDbKey());
{code}
{quote}Here we are reading openKeyTable only for getting creation time. If we
can have this information in omMultipartKeyInfo, we could avoid DB calls for
openKeyTable.
To do this, We can set creationTime in OmMultipartKeyInfo during
initiateMultipartUpload . In this way, we can get all the required information
from the MultipartKeyInfo table.
And also StorageClass is missing from the returned OmMultipartUpload, as
listMultipartUploads shows StorageClass information. For this, if we can return
replicationType and depending on this value, we can set StorageClass in the
listMultipartUploads Response.
{quote}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]