Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26088

Document rocksdb_wal_recovery_mode

    XMLWordPrintable

Details

    Description

      Our KB:

      https://mariadb.com/kb/en/myrocks-system-variables/#rocksdb_wal_recovery_mode

      is not much helpful while describing this setting (and the enterprise documentation on it is not any better).

      Please extend it with description that can be found here:

      https://github.com/facebook/mysql-5.6/wiki/MyRocks-Crash-Recovery

      and

      https://github.com/facebook/rocksdb/wiki/WAL-Recovery-Modes

      There is also missing correlation between these two, which goes as follows:

      rocksdb_wal_recovery_mode = 1 (default)
      wal_recovery_mode=kAbsoluteConsistency

      rocksdb_wal_recovery_mode = 0
      wal_recovery_mode=kTolerateCorruptedTailRecords

      rocksdb_wal_recovery_mode = 2
      wal_recovery_mode=kPointInTimeRecovery

      rocksdb_wal_recovery_mode = 3
      wal_recovery_mode=kSkipAnyCorruptedRecords

      It can be verified by checking the $datadir/.rocksdb/OPTIONS-* file for wal_recovery_mode= value after using particular rocksdb_wal_recovery_mode setting.

      Attachments

        Activity

          People

            greenman Ian Gilfillan
            valerii Valerii Kravchuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.