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
f20dfeec
Commit
f20dfeec
authored
Feb 11, 2019
by
Teemu Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recorded galera_sr_load_data_splitting, galera_sr_load_data
parent
f06a0b53
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
mysql-test/suite/galera_sr/r/galera_sr_load_data.result
mysql-test/suite/galera_sr/r/galera_sr_load_data.result
+1
-1
mysql-test/suite/galera_sr/r/galera_sr_load_data_splitting.result
...st/suite/galera_sr/r/galera_sr_load_data_splitting.result
+10
-0
mysql-test/suite/galera_sr/t/galera_sr_load_data.test
mysql-test/suite/galera_sr/t/galera_sr_load_data.test
+1
-1
No files found.
mysql-test/suite/galera_sr/r/galera_sr_load_data.result
View file @
f20dfeec
...
@@ -9,5 +9,5 @@ SELECT COUNT(*) = 20000 FROM t1;
...
@@ -9,5 +9,5 @@ SELECT COUNT(*) = 20000 FROM t1;
COUNT(*) = 20000
COUNT(*) = 20000
1
1
wsrep_last_committed_diff
wsrep_last_committed_diff
0
1
DROP TABLE t1;
DROP TABLE t1;
mysql-test/suite/galera_sr/r/galera_sr_load_data_splitting.result
View file @
f20dfeec
connection node_2;
connection node_1;
SET SESSION wsrep_trx_fragment_size = 512;
SET SESSION wsrep_trx_fragment_size = 512;
SET GLOBAL wsrep_load_data_splitting = TRUE;
SET GLOBAL wsrep_load_data_splitting = TRUE;
Warnings:
Warning 1287 '@@wsrep_load_data_splitting' is deprecated and will be removed in a future release
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
connection node_2;
connection node_1;
connection node_2;
SELECT COUNT(*) = 95000 FROM t1;
SELECT COUNT(*) = 95000 FROM t1;
COUNT(*) = 95000
COUNT(*) = 95000
1
1
wsrep_last_committed_diff
wsrep_last_committed_diff
1
1
connection node_1;
Warnings:
Warning 1287 '@@wsrep_load_data_splitting' is deprecated and will be removed in a future release
DROP TABLE t1;
DROP TABLE t1;
mysql-test/suite/galera_sr/t/galera_sr_load_data.test
View file @
f20dfeec
...
@@ -33,7 +33,7 @@ CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
...
@@ -33,7 +33,7 @@ CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
SELECT
COUNT
(
*
)
=
20000
FROM
t1
;
SELECT
COUNT
(
*
)
=
20000
FROM
t1
;
# LOAD-ing 20K rows causes 3 commits to be registered
# LOAD-ing 20K rows causes 3 commits to be registered
--
disable_query_log
--
disable_query_log
--
eval
SELECT
$wsrep_last_committed_after
-
$wsrep_last_committed_before
=
3
AS
wsrep_last_committed_diff
;
--
eval
SELECT
$wsrep_last_committed_after
-
$wsrep_last_committed_before
=
3
AS
wsrep_last_committed_diff
--
enable_query_log
--
enable_query_log
DROP
TABLE
t1
;
DROP
TABLE
t1
;
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