[
https://issues.apache.org/jira/browse/HDDS-5243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-5243.
------------------------------------
Fix Version/s: 1.2.0
Resolution: Implemented
> Return latest version of key location for client
> ------------------------------------------------
>
> Key: HDDS-5243
> URL: https://issues.apache.org/jira/browse/HDDS-5243
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Janus Chow
> Assignee: Janus Chow
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.2.0
>
>
> Currently, OmKeyInfo uses a `keyLocationVersions:
> List<OmKeyLocationInfoGroup>` to store all versions of KeyLocation
> information. If a key has lots of versions, OM needs to reply all the content
> of `keyLocationVersions` to the client, which may cause the following IPC
> warning, when the size exceeds the client IPC response size limit becomes an
> error.
> {code:java}
> 2021-05-18 23:10:07,246 [IPC Server handler 97 on default port 9862] WARN
> org.apache.hadoop.ipc.Server: Large response size 20541123 for call Call#3
> Retry#0
> org.apache.hadoop.ozone.om.protocol.OzoneManagerProtocol.submitRequest from
> 10.130.20.239:46306
> {code}
> This ticket is to add an config for client to only query the latest content
> in `keyLocationVersions`, which can reduce the IPC response size and improve
> OM's performance by excluding lots of unnecessary work with old key locations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]