Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-763 Ozone S3 gateway (phase two)
  3. HDDS-732

Add read method which takes offset and length in SignedChunkInputStream

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      This Jira is created from the comments in HDDS-693

       

      We have only read(), we don't have read(byte[] b, int off, int len), we might see some slow operation during put with SignedInputStream.  

      100% agree. I didn't check any performance numbers, yet, but we need to do it sooner or later. I would implement this method in a separate jira as it adds more complexity and as of now I would like to support the mkdir operations of the s3a unit tests (where the size is 0).

      Attachments

        1. HDDS-732.001.patch
          2 kB
          chencan
        2. HDDS-732.002.patch
          3 kB
          chencan
        3. HDDS-732.003.patch
          4 kB
          chencan

        Activity

          People

            candychencan chencan
            bharat Bharat Viswanadham
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: