Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-505 OzoneManager HA
  3. HDDS-1746

Allocating Blocks is not happening for Multipart upload part key in createMultipartKey call

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • OM HA, Ozone Manager
    • None

    Description

      In code, in preExecute, we don't read from DB/cache. As isLeader() can have stale information. As right now, this updates for every 1 second.

      When isLeader() is fixed to be always true. We can allocateBlocks for multipart Key when openKey is called in OM.

       

      To know why isLeader can have stale info. Read this comment from anu

      https://issues.apache.org/jira/browse/HDDS-1175?focusedCommentId=16831257&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16831257

      Attachments

        Activity

          People

            Unassigned Unassigned
            bharat Bharat Viswanadham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: