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

Issue with change of configuration ozone.metastore.impl in KSM

    XMLWordPrintableJSON

Details

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

    Description

      Take a scenario:

      1. When we started ozone cluster, I have set ozone.metastore.impl to RocksDB.
      2. Later I have stopped ozone cluster. 
      3. Changed the configuration of ozone.metastore.impl to LevelDB

      Now, when we restart we create KSM DB with a new DB type. With this, we will lose all the information.

       

      To avoid this kind of scenario, when we start KSM, we need to persist the DB used for KSM into a VersionFile, and use this. In this way with later restarts, if we have a version file, we read the dbType from Version file and use it for metadata store.

       

      Attachments

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              bharat Bharat Viswanadham
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: