Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3630 Merge rocksdb in datanode
  3. HDDS-5923

Add DBHandle abstraction over ReferenceCountedDB.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      For now the dbhandle for rocksdb instance is referenced counted, after merge rocksdb instances, the dbhandles will be pinned in memory until datanode stops.

      So we introduce an abstract class DBHandle and it will have 2 sub classes:

      • ReferenceCountedDB
      • RawDB

      Attachments

        Issue Links

          Activity

            People

              markgui Mark Gui
              markgui Mark Gui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: