Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP

Loading…

Make rocksdb_datadir configurable #62

Closed
yoshinorim opened this Issue · 2 comments

3 participants

@yoshinorim
Owner

Currently sst files are stored under $datadir/rocksdb and it's hard coded as 'std::string rocksdb_db_name= "./rocksdb"'. This needs to be configurable.

@maykov
Owner

I'm sending the diff to change the directory name to .rocksdb. Right now, this directory shows as the database called rocksdb when doing 'show databases'. It causes a bunch of tests to fail. Whatever we do, we should add a dot to the beginning of the name.

@maykov
Owner

For documentation, here is where mysql scans the directory to get a list of databases: https://github.com/MySQLOnRocksDB/mysql-5.6/blob/webscalesql-5.6.23.71/sql/sql_show.cc#L3258

@hermanlee hermanlee referenced this issue in facebook/mysql-5.6
Open

Make rocksdb_datadir configurable #38

@hermanlee hermanlee closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.