Skip to content

Commit

Permalink
MDEV-14123: ".rocksdb folder may break workflow", and other MDEVs
Browse files Browse the repository at this point in the history
Rename  Use '#rocksdb' instead of '.rocksdb' as subdirectory for RocksDB
datadir.
  • Loading branch information
spetrunia committed Dec 11, 2017
1 parent 40eee1d commit b8a0373
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion storage/rocksdb/ha_rocksdb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ static MYSQL_SYSVAR_UINT(
static MYSQL_SYSVAR_STR(datadir, rocksdb_datadir,
PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
"RocksDB data directory", nullptr, nullptr,
"./.rocksdb");
"./#rocksdb");

static MYSQL_SYSVAR_STR(supported_compression_types,
compression_types_val,
Expand Down
2 changes: 1 addition & 1 deletion storage/rocksdb/mysql-test/rocksdb/suite.opt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --default-storage-engine=rocksdb
--ignore-db-dirs=#rocksdb --plugin-load=$HA_ROCKSDB_SO --default-storage-engine=rocksdb

2 changes: 1 addition & 1 deletion storage/rocksdb/mysql-test/rocksdb_sys_vars/suite.opt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO
--ignore-db-dirs=#rocksdb --plugin-load=$HA_ROCKSDB_SO

2 changes: 1 addition & 1 deletion storage/rocksdb/mysql-test/storage_engine/parts/suite.opt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --loose-rocksdb_flush_log_at_trx_commit=0
--ignore-db-dirs=#rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --loose-rocksdb_flush_log_at_trx_commit=0
2 changes: 1 addition & 1 deletion storage/rocksdb/mysql-test/storage_engine/suite.opt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --collation-server=latin1_bin --loose-rocksdb_flush_log_at_trx_commit=0
--ignore-db-dirs=#rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --collation-server=latin1_bin --loose-rocksdb_flush_log_at_trx_commit=0
2 changes: 1 addition & 1 deletion storage/rocksdb/mysql-test/storage_engine/trx/suite.opt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --loose-rocksdb_flush_log_at_trx_commit=0
--ignore-db-dirs=#rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --loose-rocksdb_flush_log_at_trx_commit=0

0 comments on commit b8a0373

Please sign in to comment.