You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/suite/binlog/r/binlog_flush_binlogs_delete_domain.result
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Non-existed domain is warned, the command completes without rotation
9
9
but with a warning
10
10
FLUSH BINARY LOGS DELETE_DOMAIN_ID = (99);
11
11
Warnings:
12
-
Warning1982The gtid domain being deleted ('99') is not in the current binlog state
12
+
Warning1076The gtid domain being deleted ('99') is not in the current binlog state
13
13
show binary logs;
14
14
Log_name File_size
15
15
master-bin.000001 #
@@ -36,15 +36,15 @@ Already deleted domain in Gtid_list of the earliest log is benign
36
36
but may cause a warning
37
37
FLUSH BINARY LOGS DELETE_DOMAIN_ID = (1);
38
38
Warnings:
39
-
Warning1982The current gtid binlog state is incompatible with a former one missing gtids from the '1-1' domain-server pair which is referred to in the gtid list describing an earlier state. Ignore if the domain ('1') was already explicitly deleted.
40
-
Warning1982The gtid domain being deleted ('1') is not in the current binlog state
39
+
Warning1076The current gtid binlog state is incompatible with a former one missing gtids from the '1-1' domain-server pair which is referred to in the gtid list describing an earlier state. Ignore if the domain ('1') was already explicitly deleted.
40
+
Warning1076The gtid domain being deleted ('1') is not in the current binlog state
ERROR HY000: Could not delete gtid domain. Reason: binlog files may contain gtids from the domain ('1') being deleted. Make sure to first purge those files.
Warning1982The gtid domain being deleted ('0') is not in the current binlog state
47
+
Warning1076The gtid domain being deleted ('0') is not in the current binlog state
48
48
Gtid_list of the current binlog does not contain 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0:
49
49
show binlog events in 'master-bin.000006' limit 1,1;
50
50
Log_name Pos Event_type Server_id End_log_pos Info
@@ -73,6 +73,6 @@ PURGE BINARY LOGS TO 'master-bin.000007';
73
73
the following command succeeds with warnings
74
74
FLUSH BINARY LOGS DELETE_DOMAIN_ID = (1);
75
75
Warnings:
76
-
Warning1982The current gtid binlog state is incompatible with a former one having a gtid '11-11-1' which is less than the '11-11-11' of the gtid list describing an earlier state. The state may have been affected by manually injecting a lower sequence number gtid or via replication.
76
+
Warning1076The current gtid binlog state is incompatible with a former one having a gtid '11-11-1' which is less than the '11-11-11' of the gtid list describing an earlier state. The state may have been affected by manually injecting a lower sequence number gtid or via replication.
0 commit comments