Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'rocksdb' AND support IN ('YES', 'DEFAULT', 'ENABLED')`) | ||
| { | ||
| --skip Test requires engine RocksDB. | ||
| } | ||
|
|
||
| --disable_query_log | ||
| # Table statistics can vary depending on when the memtables are flushed, so | ||
| # flush them at the beginning of the test to ensure the test runs consistently. | ||
| set global rocksdb_force_flush_memtable_now = true; | ||
| --enable_query_log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --loose-enable-rocksdb | ||
| --loose-enable-rocksdb_global_info | ||
| --loose-enable-rocksdb_ddl | ||
| --loose-enable-rocksdb_cf_options | ||
| --loose-enable_rocksdb_perf_context | ||
| --loose-enable_rocksdb_perf_context_global | ||
| --loose-enable-rocksdb_index_file_map | ||
| --loose-enable-rocksdb_dbstats | ||
| --loose-enable-rocksdb_cfstats | ||
| --loose-enable-rocksdb_lock_info | ||
| --loose-enable-rocksdb_trx | ||
| --loose-enable-rocksdb_locks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| --plugin-load=$HA_ROCKSDB_SO --default-storage-engine=rocksdb | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| package My::Suite::Rocksdb; | ||
|
|
||
| use My::SysInfo; | ||
|
|
||
| # | ||
| # Note: ../rocksdb_sys_vars/suite.pm file has a similar | ||
| # function. If you modify this file, consider modifying that one, too. | ||
| # | ||
| @ISA = qw(My::Suite); | ||
| use My::Find; | ||
| use File::Basename; | ||
| use strict; | ||
|
|
||
| sub is_default { not $::opt_embedded_server } | ||
|
|
||
| my $sst_dump= | ||
| ::mtr_exe_maybe_exists( | ||
| "$::bindir/storage/rocksdb$::opt_vs_config/sst_dump", | ||
| "$::path_client_bindir/sst_dump"); | ||
| return "RocksDB is not compiled, no sst_dump" unless $sst_dump; | ||
| $ENV{MARIAROCKS_SST_DUMP}="$sst_dump"; | ||
|
|
||
| # Temporarily disable testing under valgrind, due to MDEV-12439 | ||
| return "RocksDB tests disabled under valgrind" if ($::opt_valgrind); | ||
|
|
||
|
|
||
| bless { }; | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters