Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3d2c0f61
Commit
3d2c0f61
authored
Aug 28, 2018
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MyRocks: Post-merge testcase fixes part #4
parent
138605c3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result
...ge/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result
+1
-0
storage/rocksdb/mysql-test/rocksdb/r/rocksdb.result
storage/rocksdb/mysql-test/rocksdb/r/rocksdb.result
+4
-4
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_deadlock_detect_rr.result
...db/mysql-test/rocksdb/r/rocksdb_deadlock_detect_rr.result
+10
-3
storage/rocksdb/rdb_i_s.cc
storage/rocksdb/rdb_i_s.cc
+1
-1
No files found.
storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result
View file @
3d2c0f61
...
...
@@ -78,6 +78,7 @@ ROCKSDB_CF_OPTIONS Stable
ROCKSDB_COMPACTION_STATS Stable
ROCKSDB_GLOBAL_INFO Stable
ROCKSDB_DDL Stable
ROCKSDB_SST_PROPS Stable
ROCKSDB_INDEX_FILE_MAP Stable
ROCKSDB_LOCKS Stable
ROCKSDB_TRX Stable
...
...
storage/rocksdb/mysql-test/rocksdb/r/rocksdb.result
View file @
3d2c0f61
...
...
@@ -1503,8 +1503,8 @@ Rocksdb_block_cache_index_miss #
Rocksdb_block_cache_miss #
Rocksdb_block_cachecompressed_hit #
Rocksdb_block_cachecompressed_miss #
r
ocksdb_bloom_filter_full_positive #
r
ocksdb_bloom_filter_full_true_positive #
R
ocksdb_bloom_filter_full_positive #
R
ocksdb_bloom_filter_full_true_positive #
Rocksdb_bloom_filter_prefix_checked #
Rocksdb_bloom_filter_prefix_useful #
Rocksdb_bloom_filter_useful #
...
...
@@ -1521,12 +1521,12 @@ Rocksdb_get_hit_l1 #
Rocksdb_get_hit_l2_and_up #
Rocksdb_getupdatessince_calls #
Rocksdb_iter_bytes_read #
Rocksdb_manual_compactions_processed #
Rocksdb_manual_compactions_running #
Rocksdb_memtable_hit #
Rocksdb_memtable_miss #
Rocksdb_no_file_closes #
Rocksdb_no_file_errors #
rocksdb_manual_compactions_processed #
rocksdb_manual_compactions_running #
Rocksdb_no_file_opens #
Rocksdb_num_iterators #
Rocksdb_number_block_not_compressed #
...
...
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_deadlock_detect_rr.result
View file @
3d2c0f61
...
...
@@ -61,22 +61,29 @@ connection con1;
i
rollback;
connection default;
disconnect con1;
disconnect con2;
disconnect con3;
create table t1 (id int primary key, value int, value2 int, index(value)) engine=rocksdb;
insert into t1 values (1,1,1),(2,2,2),(3,3,3),(4,4,4),(5,5,5),(6,6,6),(7,7,7),(8,8,8),(9,9,9),(10,10,10);
connection con1;
begin;
update t1 force index (value) set value2=value2+1 where value=3;
connection con2;
begin;
update t1 force index (value) set value2=value2+1 where value=2;
update t1 force index (value) set value2=value2+1 where value=4;
connection con1;
update t1 force index (value) set value2=value2+1 where value=4;
connection con2;
update t1 force index (value) set value2=value2+1 where value=3;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
connection con1;
rollback;
connection con2;
rollback;
drop table t1;
connection default;
disconnect con1;
disconnect con2;
disconnect con3;
set global rocksdb_lock_wait_timeout = @prior_rocksdb_lock_wait_timeout;
set global rocksdb_deadlock_detect = @prior_rocksdb_deadlock_detect;
drop table t,r1,r2;
storage/rocksdb/rdb_i_s.cc
View file @
3d2c0f61
...
...
@@ -1906,7 +1906,7 @@ struct st_maria_plugin rdb_i_s_ddl = {
nullptr
,
/* status variables */
nullptr
,
/* system variables */
nullptr
,
/* config options */
0
,
/* flags */
MYROCKS_MARIADB_PLUGIN_MATURITY_LEVEL
};
struct
st_mysql_plugin
rdb_i_s_sst_props
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment