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

Handle ContainerReports in the SCM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • SCM
    • None

    Description

      HDDS-242 provides a new class ContainerReportHandler which could handle the ContainerReports from the SCMHeartbeatDispatchere.

      HDDS-228 introduces a new map to store the container -> datanode[] mapping

      HDDS-199 implements the ReplicationManager which could send commands to the datanodes to copy the datanode.

      To wire all these components, we need to put implementation to the ContainerReportHandler (created in HDDS-242).

      The ContainerReportHandler should process the new ContainerReportForDatanode events, update the containerStateMap and node2ContainerMap and calculate the missing/duplicate containers and send the ReplicateCommand to the ReplicateManager.

      Attachments

        1. HDDS-245.005.patch
          34 kB
          Marton Elek
        2. HDDS-245.004.patch
          33 kB
          Marton Elek
        3. HDDS-245.003.patch
          33 kB
          Marton Elek
        4. HDDS-245.002.patch
          33 kB
          Marton Elek
        5. HDDS-245.001.patch
          32 kB
          Marton Elek

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: