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
4142a738
Commit
4142a738
authored
Oct 13, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
a992c615
5fffdbc8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
14 deletions
+20
-14
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+1
-5
mysql-test/suite/galera/r/MDEV-29142.result
mysql-test/suite/galera/r/MDEV-29142.result
+2
-0
mysql-test/suite/galera/t/MDEV-29142.test
mysql-test/suite/galera/t/MDEV-29142.test
+2
-0
mysql-test/suite/galera_3nodes/disabled.def
mysql-test/suite/galera_3nodes/disabled.def
+1
-0
mysql-test/suite/galera_sr/disabled.def
mysql-test/suite/galera_sr/disabled.def
+0
-3
sql/wsrep_mysqld.cc
sql/wsrep_mysqld.cc
+14
-5
sql/wsrep_thd.h
sql/wsrep_thd.h
+0
-1
No files found.
mysql-test/suite/galera/disabled.def
View file @
4142a738
...
...
@@ -36,9 +36,5 @@ pxc-421: wsrep_provider is read-only for security reasons
query_cache: MDEV-15805 Test failure on galera.query_cache
versioning_trx_id: MDEV-18590: galera.versioning_trx_id: Test failure: mysqltest: Result content mismatch
galera_bf_abort_at_after_statement : Unstable
galera_bf_abort_shutdown : MDEV-29773 Assertion failure on sql/wsrep_mysqld.cc:2893 in wsrep_bf_abort_shutdown
# Recent trouble
MDEV-26597 : crashes on 10.5
MDEV-27615 : crashes on 10.5 after MDEV-26597 fix
MDEV-29142 : fails on 10.5 with WSREP: Inconsistency detected
galera_bf_abort_shutdown : MDEV-29368 shutdown hang
mysql-test/suite/galera/r/MDEV-29142.result
View file @
4142a738
...
...
@@ -5,10 +5,12 @@ connection node_2;
connection node_1;
call mtr.add_suppression("WSREP: Event .* Write_rows_v1 apply failed:.*");
call mtr.add_suppression("WSREP: Failed to apply write set:.*");
call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on.*");
connection node_2;
call mtr.add_suppression("WSREP: Failed to open table mysql.wsrep_streaming_log for writing");
call mtr.add_suppression("WSREP: Failed to open SR table for write");
call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0");
call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on.*");
SET @@global.tx_read_only = ON;
SET default_storage_engine = SEQUENCE;
create table t1 (c1 int);
...
...
mysql-test/suite/galera/t/MDEV-29142.test
View file @
4142a738
...
...
@@ -10,11 +10,13 @@
--
connection
node_1
call
mtr
.
add_suppression
(
"WSREP: Event .* Write_rows_v1 apply failed:.*"
);
call
mtr
.
add_suppression
(
"WSREP: Failed to apply write set:.*"
);
call
mtr
.
add_suppression
(
"WSREP: Inconsistency detected: Inconsistent by consensus on.*"
);
--
connection
node_2
call
mtr
.
add_suppression
(
"WSREP: Failed to open table mysql.wsrep_streaming_log for writing"
);
call
mtr
.
add_suppression
(
"WSREP: Failed to open SR table for write"
);
call
mtr
.
add_suppression
(
"WSREP: Failed to recover SR transactions from schema: wsrep_on : 0"
);
call
mtr
.
add_suppression
(
"WSREP: Inconsistency detected: Inconsistent by consensus on.*"
);
SET
@@
global
.
tx_read_only
=
ON
;
--
error
0
,
1286
...
...
mysql-test/suite/galera_3nodes/disabled.def
View file @
4142a738
...
...
@@ -32,3 +32,4 @@ galera_ipv6_rsync_section : MDEV-24097 MTR sporadaically fails: Failed to start
galera_ssl_reload : MDEV-24097 MTR sporadaically fails: Failed to start mysqld or mysql_shutdown failed
galera_toi_vote : MDEV-24097 MTR sporadaically fails: Failed to start mysqld or mysql_shutdown failed
galera_wsrep_schema_init : MDEV-24097 MTR sporadaically fails: Failed to start mysqld or mysql_shutdown failed
galera_parallel_apply_3nodes : MDEV-29774 Galera test galera_parallel_apply_3nodes is unstable
mysql-test/suite/galera_sr/disabled.def
View file @
4142a738
...
...
@@ -12,6 +12,3 @@
GCF-1060 : MDEV-26528 wrong usage of mutex LOCK_thd_kill and LOCK_thd_kill
galera_sr_ws_size2 : MDEV-29773 assertion failure
galera-features#56 : MDEV-29773 assertion failure
MDEV-27615 : MDEV-29773 assertion failure
sql/wsrep_mysqld.cc
View file @
4142a738
...
...
@@ -3676,19 +3676,28 @@ bool wsrep_consistency_check(THD *thd)
void
wsrep_commit_empty
(
THD
*
thd
,
bool
all
)
{
DBUG_ENTER
(
"wsrep_commit_empty"
);
WSREP_DEBUG
(
"wsrep_commit_empty(%llu)"
,
thd
->
thread_id
);
WSREP_DEBUG
(
"wsrep_commit_empty for %llu client_state %s client_mode"
" %s trans_state %s sql %s"
,
thd_get_thread_id
(
thd
),
wsrep
::
to_c_string
(
thd
->
wsrep_cs
().
state
()),
wsrep
::
to_c_string
(
thd
->
wsrep_cs
().
mode
()),
wsrep
::
to_c_string
(
thd
->
wsrep_cs
().
transaction
().
state
()),
wsrep_thd_query
(
thd
));
if
(
wsrep_is_real
(
thd
,
all
)
&&
wsrep_thd_is_local
(
thd
)
&&
thd
->
wsrep_trx
().
active
()
&&
!
thd
->
internal_transaction
()
&&
thd
->
wsrep_trx
().
state
()
!=
wsrep
::
transaction
::
s_committed
)
{
/* @todo CTAS with STATEMENT binlog format and empty result set
seems to be committing empty. Figure out why and try to fix
elsewhere. */
/* Here transaction is either empty (i.e. no changes) or
it was CREATE TABLE with no row binlog format or
we have already aborted transaction e.g. because max writeset size
has been reached. */
DBUG_ASSERT
(
!
wsrep_has_changes
(
thd
)
||
(
thd
->
lex
->
sql_command
==
SQLCOM_CREATE_TABLE
&&
!
thd
->
is_current_stmt_binlog_format_row
()));
!
thd
->
is_current_stmt_binlog_format_row
())
||
thd
->
wsrep_cs
().
transaction
().
state
()
==
wsrep
::
transaction
::
s_aborted
);
bool
have_error
=
wsrep_current_error
(
thd
);
int
ret
=
wsrep_before_rollback
(
thd
,
all
)
||
wsrep_after_rollback
(
thd
,
all
)
||
...
...
sql/wsrep_thd.h
View file @
4142a738
...
...
@@ -184,7 +184,6 @@ void wsrep_reset_threadvars(THD *);
static
inline
void
wsrep_override_error
(
THD
*
thd
,
uint
error
,
const
char
*
format
=
0
,
...)
{
DBUG_ASSERT
(
error
!=
ER_ERROR_DURING_COMMIT
);
Diagnostics_area
*
da
=
thd
->
get_stmt_da
();
if
(
da
->
is_ok
()
||
da
->
is_eof
()
||
...
...
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