[MDEV-12791] Default value of rocksdb_datadir not ideal Created: 2017-05-12  Updated: 2017-12-11  Resolved: 2017-12-11

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - RocksDB
Fix Version/s: 10.2.12

Type: Task Priority: Minor
Reporter: Kolbe Kegel (Inactive) Assignee: Sergei Petrunia
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-14123 .rocksdb folder may break workflow wh... Closed

 Description   

Hi,

I'd like to see a different default value for rocksdb_datadir. The default value of "./.rocksdb" creates a "hidden" directory. This makes supporting the engine unnecessarily complicated. That has these side effects:

  • The directory won't show up in ls output of the MariaDB datadir
  • The directory won't be included in shell globs
    • rm -r /var/lib/mysql/* won't remove RocksDB files
    • du -sck /var/lib/mysql/* won't show RocksDB files

What is gained by having this directory be "hidden"? Would it be possible to use something like "_rocksdb" instead?



 Comments   
Comment by Sergei Petrunia [ 2017-12-11 ]

Fixed as part of fix for MDEV-14123. Marking as a duplicate.

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