Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
Description
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.
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
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.
Attachments
Issue Links
- is depended upon by
-
HDDS-5393 Return latest version of key location for client on createKey/createFile
- Resolved
- links to