Skip to content

Commit d172df9

Browse files
committed
MDEV-25975: Merge 10.3 into 10.4
2 parents f089f8d + e9735a8 commit d172df9

33 files changed

+179
-465
lines changed

extra/mariabackup/xtrabackup.cc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4596,11 +4596,6 @@ static bool xtrabackup_backup_func()
45964596
crc_init();
45974597
recv_sys.create();
45984598

4599-
#ifdef WITH_INNODB_DISALLOW_WRITES
4600-
srv_allow_writes_event = os_event_create(0);
4601-
os_event_set(srv_allow_writes_event);
4602-
#endif
4603-
46044599
xb_filters_init();
46054600

46064601
xb_fil_io_init();
@@ -6060,10 +6055,6 @@ static bool xtrabackup_prepare_func(char** argv)
60606055
log_sys.create();
60616056
recv_recovery_on = true;
60626057

6063-
#ifdef WITH_INNODB_DISALLOW_WRITES
6064-
srv_allow_writes_event = os_event_create(0);
6065-
os_event_set(srv_allow_writes_event);
6066-
#endif
60676058
dberr_t err = xb_data_files_init();
60686059
if (err != DB_SUCCESS) {
60696060
msg("mariabackup: error: xb_data_files_init() failed "
@@ -6085,9 +6076,6 @@ static bool xtrabackup_prepare_func(char** argv)
60856076
xb_filter_hash_free(inc_dir_tables_hash);
60866077

60876078
fil_system.close();
6088-
#ifdef WITH_INNODB_DISALLOW_WRITES
6089-
os_event_destroy(srv_allow_writes_event);
6090-
#endif
60916079
innodb_free_param();
60926080
log_sys.close();
60936081
sync_check_close();

mysql-test/include/have_innodb_disallow_writes.inc

Lines changed: 0 additions & 6 deletions
This file was deleted.

mysql-test/suite/galera/r/MW-328C.result

Lines changed: 0 additions & 25 deletions
This file was deleted.

mysql-test/suite/galera/r/galera_bf_abort_shutdown.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ connection node_2;
55
connection node_1;
66
CREATE TABLE t1 (f1 INT PRIMARY KEY);
77
connection node_2;
8+
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*");
89
SET DEBUG_SYNC = 'wsrep_before_certification WAIT_FOR continue';
910
INSERT INTO t1 VALUES (1);
1011
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;

mysql-test/suite/galera/r/galera_drop_database.result

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,6 @@ SHOW TABLES;
4848
Tables_in_fts
4949
DROP DATABASE fts;
5050
connection node_2;
51+
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:");
52+
Warnings:
53+
Note 1049 Unknown database 'fts'

mysql-test/suite/galera/r/galera_events2.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ f1 f2
111111
SELECT EVENT_CATALOG, EVENT_SCHEMA, EVENT_NAME, DEFINER, EVENT_BODY, EVENT_DEFINITION, EVENT_TYPE, EXECUTE_AT, INTERVAL_VALUE, INTERVAL_FIELD, STATUS,ON_COMPLETION, EVENT_COMMENT FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_NAME='one_event';
112112
EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD STATUS ON_COMPLETION EVENT_COMMENT
113113
def test one_event root@localhost SQL SELECT 123 RECURRING NULL 10 SECOND SLAVESIDE_DISABLED NOT PRESERVE
114+
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:.*");
114115
connection node_1;
115116
SELECT * FROM t1;
116117
f1 f2

mysql-test/suite/galera/r/galera_restart_on_unknown_option.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ f1 f2
4141
connection node_2;
4242
Starting server ...
4343
Starting server ...
44+
call mtr.add_suppression("WSREP: Failed to scan the last segment to the end. Last events may be missing. Last recovered event:");
4445
SELECT * FROM t1;
4546
f1 f2
4647
1 a

mysql-test/suite/galera/r/galera_var_innodb_disallow_writes.result

Lines changed: 0 additions & 30 deletions
This file was deleted.

mysql-test/suite/galera/t/MW-328C.cnf

Lines changed: 0 additions & 7 deletions
This file was deleted.

mysql-test/suite/galera/t/MW-328C.test

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)