[MDEV-13280] Its possible to drop rocksdb tables without the plugin enabled Created: 2017-07-10  Updated: 2017-07-11

Status: Open
Project: MariaDB Server
Component/s: Configuration, Documentation, Storage Engine - RocksDB
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Mark Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

You may want to add rocksdb_default_cf_options= with default values to rocksdb.cnf. I messed up adding this multiple times which causes the plugin not to load. While the plugin was not loaded I was able to drop a rocksdb table which caused the plugin to fail to load with the following error until I manually deleted all the files in datadir/.rocksdb

[Warning] RocksDB: Schema mismatch - Table db.foo is registered in RocksDB but does not have a .frm file
[ERROR] RocksDB: Problems validating data dictionary against .frm files, exiting
[ERROR] RocksDB: Failed to initialize DDL manager.
[ERROR] Plugin 'ROCKSDB' init function returned error.
[ERROR] Plugin 'ROCKSDB' registration as a STORAGE ENGINE failed.


Generated at Thu Feb 08 08:04:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.