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

Avoid buffer copying in KeyValueHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      • In handleGetSmallFile, it first reads chunk data to a byte[] and the copy them to a ByteString.
      • In handlePutBlock/handleGetBlock, in order to get the length, it (1) builds a ContainerProtos.BlockData and then copies it to a byte[].

      Attachments

        1. o2271_20191015.patch
          6 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m