Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5305 Ozone Namespace Summaries in Recon
  3. HDDS-5379

Refactor existing ContainerDBServiceProvider to prepare for the new NSSummary Service Provider

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Because we are intending to add a new CF to the Recon container DB, the existing ContainerDBServiceProvider must be refactored to resolve conflict with a new service provider sharing the same RDB as the current one directly operates on the DB not just the CF/tables.

      1. Refactor ContainerDBServiceProvider into something not directly related to the underlying RDB
      2. Use a new ReconDBStore instead of containerDbStore in ContainerDBServiceProviderImpl
      3. Rename ContainerDBServiceProvider/ContainerDBServiceProviderImpl into sth more appropriate
      4. Combined ReconRocksDB and ReconDBProvider into one class, which manages all db-level operations.

      Attachments

        Activity

          People

            yuan.gu Yuan Gu
            smeng Siyao Meng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: