Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5243

Return latest version of key location for client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.2.0
    • 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

          Activity

            People

              Symious Janus Chow
              Symious Janus Chow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: