Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2274 Avoid buffer copying in Codec
  3. HDDS-8741

Use adjustable capacity CodecBuffer to get from DB

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • db

    Description

      When getting a value from DB, the value size is unknown when allocating a buffer.  Currently, we set the exact capacity in buffer allocation and, if the capacity is too small, reallocate a new buffer.  We should use an adjustable buffer and try to adjust the capacity if it is too small.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: