MySQLOnRocksDB/mysql-5.6
forked from facebook/mysql-5.6

Loading…
Make rocksdb_datadir configurable #62
Closed
yoshinorim opened this Issue
· 2 comments
Owner
yoshinorim
commented
Owner
maykov
commented
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.
Owner
maykov
commented
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.