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

Create container if not exist, as part of chunk write

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Ozone Datanode
    • None

    Description

      The current implementation requires a container to be created in datanode before starting the chunk write. This can be optimized by creating the container on the first chunk write.
      During chunk write, if the container is missing, we can go ahead and create the container.

      Along with this change ALLOCATED and CREATING container states can be removed as they were used to track which containers have been successfully created. Also there is a shouldCreateContainer flag which is used by client to know if it needs to create container. This flag can be removed.

      Attachments

        1. HDDS-733.004.patch
          81 kB
          Lokesh Jain
        2. HDDS-733.003.patch
          80 kB
          Lokesh Jain
        3. HDDS-733.002.patch
          78 kB
          Lokesh Jain
        4. HDDS-733.001.patch
          8 kB
          Lokesh Jain

        Issue Links

          Activity

            People

              ljain Lokesh Jain
              nanda Nandakumar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: