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
248dc12e
Commit
248dc12e
authored
Jan 14, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.1 into 10.2
parents
f5ee7fb3
7372fe4d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
3 deletions
+28
-3
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+2
-0
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-3
mysql-test/suite/galera/r/galera_gcache_recover.result
mysql-test/suite/galera/r/galera_gcache_recover.result
+7
-0
mysql-test/suite/galera/r/galera_gcache_recover_full_gcache.result
...t/suite/galera/r/galera_gcache_recover_full_gcache.result
+7
-0
storage/innobase/trx/trx0trx.cc
storage/innobase/trx/trx0trx.cc
+6
-0
storage/xtradb/trx/trx0trx.cc
storage/xtradb/trx/trx0trx.cc
+6
-0
No files found.
extra/mariabackup/xtrabackup.cc
View file @
248dc12e
...
...
@@ -5262,6 +5262,7 @@ xb_process_datadir(
path
,
NULL
,
fileinfo
.
name
,
NULL
))
{
os_file_closedir
(
dbdir
);
return
(
FALSE
);
}
}
...
...
@@ -5323,6 +5324,7 @@ xb_process_datadir(
dbinfo
.
name
,
fileinfo
.
name
,
NULL
))
{
os_file_closedir
(
dbdir
);
return
(
FALSE
);
}
}
...
...
mysql-test/suite/galera/disabled.def
View file @
248dc12e
...
...
@@ -20,9 +20,6 @@ galera_as_slave_preordered : wsrep-preordered feature not merged to MariaDB
GAL-419 : MDEV-13549 Galera test failures
galera_var_notify_cmd : MDEV-13549 Galera test failures
galera_as_slave_replication_bundle : MDEV-13549 Galera test failures
galera_gcache_recover : MDEV-13549 Galera test failures
galera_gcache_recover_full_gcache : MDEV-13549 Galera test failures
galera_gcache_recover_manytrx : MDEV-13549 Galera test failures
galera_ssl_upgrade : MDEV-13549 Galera test failures
galera.MW-329 : wsrep_local_replays not stable
MW-416 : MDEV-13549 Galera test failures
...
...
mysql-test/suite/galera/r/galera_gcache_recover.result
View file @
248dc12e
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
SET SESSION wsrep_sync_wait = 0;
connection node_2;
SET SESSION wsrep_sync_wait = 0;
Killing server ...
connection node_1;
INSERT INTO t1 VALUES (2);
Killing server ...
connection node_1;
Performing --wsrep-recover ...
Using --wsrep-start-position when starting mysqld ...
INSERT INTO t1 VALUES (3);
connection node_2;
Performing --wsrep-recover ...
Using --wsrep-start-position when starting mysqld ...
connection node_1;
include/diff_servers.inc [servers=1 2]
connection node_1;
CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
include/assert_grep.inc [async IST sender starting to serve]
connection node_2;
CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
include/assert_grep.inc [Recovering GCache ring buffer: found gapless sequence]
DROP TABLE t1;
mysql-test/suite/galera/r/galera_gcache_recover_full_gcache.result
View file @
248dc12e
SET SESSION wsrep_sync_wait = 0;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 LONGBLOB) ENGINE=InnoDB;
connection node_2;
SET SESSION wsrep_sync_wait = 0;
Killing server ...
connection node_1;
INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
Killing server ...
connection node_1;
Performing --wsrep-recover ...
Using --wsrep-start-position when starting mysqld ...
connection node_2;
Performing --wsrep-recover ...
Using --wsrep-start-position when starting mysqld ...
connection node_1;
include/diff_servers.inc [servers=1 2]
connection node_1;
DROP TABLE t1;
CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
include/assert_grep.inc [IST first seqno 2 not found from cache, falling back to SST]
connection node_2;
CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
storage/innobase/trx/trx0trx.cc
View file @
248dc12e
...
...
@@ -2738,6 +2738,12 @@ trx_get_trx_by_xid_low(
&&
trx_state_eq
(
trx
,
TRX_STATE_PREPARED
)
&&
xid
->
eq
((
XID
*
)
trx
->
xid
))
{
#ifdef WITH_WSREP
/* The commit of a prepared recovered Galera
transaction needs a valid trx->xid for
invoking trx_sys_update_wsrep_checkpoint(). */
if
(
wsrep_is_wsrep_xid
(
trx
->
xid
))
break
;
#endif
/* Invalidate the XID, so that subsequent calls
will not find it. */
trx
->
xid
->
null
();
...
...
storage/xtradb/trx/trx0trx.cc
View file @
248dc12e
...
...
@@ -2578,6 +2578,12 @@ trx_get_trx_by_xid_low(
&&
memcmp
(
xid
->
data
,
trx
->
xid
.
data
,
xid
->
gtrid_length
+
xid
->
bqual_length
)
==
0
)
{
#ifdef WITH_WSREP
/* The commit of a prepared recovered Galera
transaction needs a valid trx->xid for
invoking trx_sys_update_wsrep_checkpoint(). */
if
(
wsrep_is_wsrep_xid
(
&
trx
->
xid
))
break
;
#endif
/* Invalidate the XID, so that subsequent calls
will not find it. */
trx
->
xid
.
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