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

Update the container replica history to the Recon DB lazily instead of for every report.

    XMLWordPrintableJSON

Details

    Description

      Recon tracks the history for every container replica on the Ozone cluster in its SQL DB (By default, this is Derby). To track this, it keeps track of the last timestamp of a replica on a DN through reports. This becomes a SQL DB scan + write operation for every container report received. Even though there is async hand off from the report to EventQueue, the event queue handler itself by default uses 1 thread per event type (report type). Hence, there is implicit blocking behavior here which is pushed down to DNs.

      This has to be changed into a lazy update of DB to support better scalability. Details on how to achieve this will be added to the JIRA later.

      Attachments

        1. Screen Shot 2020-10-27 at 10.27.02 PM.png
          40 kB
          Aravindan Vijayan
        2. Screen Shot 2020-10-27 at 10.29.17 PM.png
          134 kB
          Aravindan Vijayan

        Issue Links

          Activity

            People

              smeng Siyao Meng
              avijayan Aravindan Vijayan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: