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

Introduce queryMap in PipelineManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      In Genesis benchmark for block allocation it was found that BlockManager#allocateBlock call was very slow for higher number of pipelines. This happens because allocateBlock call gets list of pipelines with a particular replication type, replication factor and state. This list is calculated by traversing the entries of a map. This Jira aims to optimize the call by introducing query map in Pipeline Manager.

      The pipeline manager would keep a maintain a list of pipelines for every query type i.e. for every replication type, replication factor.

      Attachments

        1. HDDS-1106.001.patch
          7 kB
          Lokesh Jain
        2. HDDS-1106.002.patch
          7 kB
          Lokesh Jain

        Activity

          People

            ljain Lokesh Jain
            ljain Lokesh Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: