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

Rocks db corrupts data when disk is out of space

    XMLWordPrintable

Details

    Description

      How do we eliminate this risk and how do we fix this issue after it happens?
      I issued a command to truncate a table, and since it was stuck, I rebooted.

      2020-03-27 5:18:17 0 [Warning] RocksDB: Schema mismatch - A .frm file exists for table asterisk.acc, but that table is not registered in RocksDB
      2020-03-27 5:18:17 0 [ERROR] RocksDB: Problems validating data dictionary against .frm files, exiting
      2020-03-27 5:18:17 0 [ERROR] RocksDB: Failed to initialize DDL manager.
      2020-03-27 5:18:17 0 [ERROR] Plugin 'ROCKSDB' init function returned error.
      2020-03-27 5:18:17 0 [ERROR] Plugin 'ROCKSDB' registration as a STORAGE ENGINE failed.
      2020-03-27 5:18:17 0 [ERROR] Unknown/unsupported storage engine: rocksdb

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              philip_38 Philip orleans
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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