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
d38b15de
Commit
d38b15de
authored
Jun 30, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.0-galera' into 10.1
parents
d3cc15eb
4f40f87c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
17 deletions
+16
-17
mysql-test/suite/galera/r/galera_defaults.result
mysql-test/suite/galera/r/galera_defaults.result
+4
-3
mysql-test/suite/galera/r/galera_var_node_address.result
mysql-test/suite/galera/r/galera_var_node_address.result
+1
-0
mysql-test/suite/galera/t/galera_defaults.test
mysql-test/suite/galera/t/galera_defaults.test
+2
-2
mysql-test/suite/galera/t/galera_var_node_address.test
mysql-test/suite/galera/t/galera_var_node_address.test
+1
-0
mysql-test/suite/wsrep/include/check_galera_version.inc
mysql-test/suite/wsrep/include/check_galera_version.inc
+8
-11
storage/xtradb/os/os0file.cc
storage/xtradb/os/os0file.cc
+0
-1
No files found.
mysql-test/suite/galera/r/galera_defaults.result
View file @
d38b15de
SELECT COUNT(*) = 4
2
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME LIKE 'wsrep_%';
COUNT(*) = 4
2
SELECT COUNT(*) = 4
3
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME LIKE 'wsrep_%';
COUNT(*) = 4
3
1
SELECT VARIABLE_NAME, VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
...
...
@@ -26,6 +26,7 @@ WSREP_CONVERT_LOCK_TO_TRX OFF
WSREP_DBUG_OPTION
WSREP_DEBUG OFF
WSREP_DESYNC OFF
WSREP_DIRTY_READS OFF
WSREP_DRUPAL_282555_WORKAROUND OFF
WSREP_FORCED_BINLOG_FORMAT NONE
WSREP_GTID_DOMAIN_ID 0
...
...
@@ -50,7 +51,7 @@ WSREP_SST_DONOR
WSREP_SST_DONOR_REJECTS_QUERIES OFF
WSREP_SST_METHOD rsync
WSREP_SYNC_WAIT 7
<BASE_DIR>; <BASE_HOST>; <BASE_PORT>; cert.log_conflicts = no; debug = no; evs.auto_evict = 0; evs.causal_keepalive_period = PT1S; evs.debug_log_mask = 0x1; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT
30S; evs.info_log_mask = 0; evs.install_timeout = PT15S; evs.join_retrans_period = PT1S; evs.keepalive_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT10S; evs.use_aggregate = true; evs.user_send_window = 2; evs.version = 0; evs.view_forget_timeout = P1D; <GCACHE_DIR>; gcache.keep_pages_size = 0; gcache.mem_size = 0; <GCACHE_NAME>; gcache.page_size = 128M; gcache.recover = no; gcache.size = 128M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; <RECV_Q_HARD_LIMIT>;
gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; <GMCAST_LISTEN_ADDR>; gmcast.mcast_addr = ; gmcast.mcast_ttl = 1; gmcast.peer_timeout = PT3S; gmcast.segment = 0; gmcast.time_wait = PT5S; gmcast.version = 0; <IST_RECV_ADDR>; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quorum = false; pc.ignore_sb = false; pc.linger = PT20S; pc.npvo = false; pc.recovery = true; pc.version = 0; pc.wait_prim = true; pc.wait_prim_timeout = PT30S; pc.weight = 1; protonet.backend = asio; protonet.version = 0; repl.causal_read_timeout = PT90S; repl.commit_order = 3; repl.key_format = FLAT8; repl.max_ws_size = 2147483647; repl.proto_max = 7; socket.checksum = 2; socket.recv_buf_size = 212992;
<BASE_DIR>; <BASE_HOST>; <BASE_PORT>; cert.log_conflicts = no; debug = no; evs.auto_evict = 0; evs.causal_keepalive_period = PT1S; evs.debug_log_mask = 0x1; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT
15S; evs.info_log_mask = 0; evs.install_timeout = PT7.5S; evs.join_retrans_period = PT1S; evs.keepalive_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT10S; evs.use_aggregate = true; evs.user_send_window = 2; evs.version = 0; evs.view_forget_timeout = P1D; <GCACHE_DIR>; gcache.keep_pages_size = 0; gcache.mem_size = 0; <GCACHE_NAME>; gcache.page_size = 128M; gcache.recover = no; gcache.size = 10M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; <GCS_RECV_Q_HARD_LIMIT>;
gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; <GMCAST_LISTEN_ADDR>; gmcast.mcast_addr = ; gmcast.mcast_ttl = 1; gmcast.peer_timeout = PT3S; gmcast.segment = 0; gmcast.time_wait = PT5S; gmcast.version = 0; <IST_RECV_ADDR>; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quorum = false; pc.ignore_sb = false; pc.linger = PT20S; pc.npvo = false; pc.recovery = true; pc.version = 0; pc.wait_prim = true; pc.wait_prim_timeout = PT30S; pc.weight = 1; protonet.backend = asio; protonet.version = 0; repl.causal_read_timeout = PT90S; repl.commit_order = 3; repl.key_format = FLAT8; repl.max_ws_size = 2147483647; repl.proto_max = 7; socket.checksum = 2; socket.recv_buf_size = 212992;
SELECT COUNT(*) FROM INFORMATION_SCHEMA.GLOBAL_STATUS
WHERE VARIABLE_NAME LIKE 'wsrep_%'
AND VARIABLE_NAME != 'wsrep_debug_sync_waiters';
...
...
mysql-test/suite/galera/r/galera_var_node_address.result
View file @
d38b15de
call mtr.add_suppression("WSREP: Stray state UUID msg: .* current group state WAIT_STATE_UUID .*");
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 4
1
...
...
mysql-test/suite/galera/t/galera_defaults.test
View file @
d38b15de
...
...
@@ -13,13 +13,13 @@
# Make sure that the test is operating on the right version of galera library.
--
disable_query_log
--
let
$galera_version
=
25.3
.
17
--
let
$galera_version
=
3.20
source
../
wsrep
/
include
/
check_galera_version
.
inc
;
--
enable_query_log
# Global Variables
SELECT
COUNT
(
*
)
=
4
2
FROM
INFORMATION_SCHEMA
.
GLOBAL_VARIABLES
WHERE
VARIABLE_NAME
LIKE
'wsrep_%'
;
SELECT
COUNT
(
*
)
=
4
3
FROM
INFORMATION_SCHEMA
.
GLOBAL_VARIABLES
WHERE
VARIABLE_NAME
LIKE
'wsrep_%'
;
SELECT
VARIABLE_NAME
,
VARIABLE_VALUE
FROM
INFORMATION_SCHEMA
.
GLOBAL_VARIABLES
...
...
mysql-test/suite/galera/t/galera_var_node_address.test
View file @
d38b15de
...
...
@@ -6,6 +6,7 @@
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
call
mtr
.
add_suppression
(
"WSREP: Stray state UUID msg: .* current group state WAIT_STATE_UUID .*"
);
SELECT
VARIABLE_VALUE
=
4
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
--
connection
node_1
...
...
mysql-test/suite/wsrep/include/check_galera_version.inc
View file @
d38b15de
...
...
@@ -2,7 +2,7 @@
# Enable tests to check the galera library version.
#
# ==== Usage ====
# --let $galera_version=
25.
3.6
# --let $galera_version=3.6
# source include/check_galera_lib_version.inc;
#
# Parameters:
...
...
@@ -15,25 +15,22 @@
# Required Version
eval
SET
@
GALERA_VERSION
=
'$galera_version'
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
GALERA_VERSION
,
'^(\\d+)\\.(\\d+)\\.(\\d+).*'
,
'\\1'
)
AS
UNSIGNED
)
INTO
@
GALERA_MAJOR_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
GALERA_VERSION
,
'^(\\d+)\\.(\\d+)\\.(\\d+).*'
,
'\\2'
)
AS
UNSIGNED
)
INTO
@
GALERA_MID_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
GALERA_VERSION
,
'^(\\d+)\\.(\\d+)\\.(\\d+).*'
,
'\\3'
)
AS
UNSIGNED
)
INTO
@
GALERA_MINOR_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
GALERA_VERSION
,
'^(\\d+)\\.(\\d+).*'
,
'\\1'
)
AS
UNSIGNED
)
INTO
@
GALERA_MAJOR_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
GALERA_VERSION
,
'^(\\d+)\\.(\\d+).*'
,
'\\2'
)
AS
UNSIGNED
)
INTO
@
GALERA_MINOR_VERSION
;
# Actual
SELECT
VARIABLE_VALUE
INTO
@
ACTUAL_GALERA_VERSION
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
LIKE
'wsrep_provider_version'
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
ACTUAL_GALERA_VERSION
,
'^(\\d+)\\.(\\d+)\\.(\\d+).*'
,
'\\1'
)
AS
UNSIGNED
)
INTO
@
ACTUAL_GALERA_MAJOR_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
ACTUAL_GALERA_VERSION
,
'^(\\d+)\\.(\\d+)\\.(\\d+).*'
,
'\\2'
)
AS
UNSIGNED
)
INTO
@
ACTUAL_GALERA_MID_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
ACTUAL_GALERA_VERSION
,
'^(\\d+)\\.(\\d+)\\.(\\d+).*'
,
'\\3'
)
AS
UNSIGNED
)
INTO
@
ACTUAL_GALERA_MINOR_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
ACTUAL_GALERA_VERSION
,
'^(\\d+)\\.(\\d+).*'
,
'\\1'
)
AS
UNSIGNED
)
INTO
@
ACTUAL_GALERA_MAJOR_VERSION
;
SELECT
CAST
(
REGEXP_REPLACE
(
@
ACTUAL_GALERA_VERSION
,
'^(\\d+)\\.(\\d+).*'
,
'\\2'
)
AS
UNSIGNED
)
INTO
@
ACTUAL_GALERA_MINOR_VERSION
;
# For testing
#SELECT @GALERA_MAJOR_VERSION, @GALERA_MI
D_VERSION, @GALERA_MI
NOR_VERSION;
#SELECT @GALERA_MAJOR_VERSION, @GALERA_MINOR_VERSION;
#SELECT @ACTUAL_GALERA_VERSION;
#SELECT @ACTUAL_GALERA_MAJOR_VERSION, @ACTUAL_GALERA_MI
D_VERSION, @ACTUAL_GALERA_MI
NOR_VERSION;
#SELECT @ACTUAL_GALERA_MAJOR_VERSION, @ACTUAL_GALERA_MINOR_VERSION;
if
(
!
`SELECT (@ACTUAL_GALERA_MAJOR_VERSION > @GALERA_MAJOR_VERSION) OR
(@ACTUAL_GALERA_MAJOR_VERSION = @GALERA_MAJOR_VERSION AND @ACTUAL_GALERA_MID_VERSION > @GALERA_MID_VERSION) OR
(@ACTUAL_GALERA_MAJOR_VERSION = @GALERA_MAJOR_VERSION AND @ACTUAL_GALERA_MID_VERSION = @GALERA_MID_VERSION AND @ACTUAL_GALERA_MINOR_VERSION >= @GALERA_MINOR_VERSION)
(@ACTUAL_GALERA_MAJOR_VERSION = @GALERA_MAJOR_VERSION AND @ACTUAL_GALERA_MINOR_VERSION >= @GALERA_MINOR_VERSION)
`
)
{
skip
Test
requires
Galera
library
version
$galera_version
;
...
...
storage/xtradb/os/os0file.cc
View file @
d38b15de
...
...
@@ -2072,7 +2072,6 @@ os_file_create_func(
file
=
INVALID_HANDLE_VALUE
;
}
}
#else
/* __WIN__ */
int
create_flag
;
const
char
*
mode_str
=
NULL
;
...
...
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