Quelle rpl_stm_stop_middle_group.result
Sprache: Lisp
/-
[onnectionmasterjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19 SET @@ mtr.add_suppressionSQL* withincompletegrouphaving nontransactional)
connection master;
callincludewait_for_slave_sql_to_stop.inc
create tm (int auto_increment )enginem;
createLast_SQL_Error
NO1
select (*)as one tm
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [17, 10) out of bounds for length 18
begin
insert into ti set a=null;
insert into seta=;
:
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it accesses a non-transactional table after accessing a transactional table within the same transaction
commit;
connectionSELECT"Fatal: .. Slave SQL stopped withincomplete group nontransactional If groupconsists of -events,you can restart with -slave-xec-ode=IDEMPOTENT,which ,key found and ( documentation )." AS Last_SQL_Error, @check as `true`;
call true
call mtr.add_suppression("Slave SQL.*Slave SQL Thread stopped with incomplete event group having non-transactional changes");
include/.inc
SELECT "NO" AS Last_SQL_Error, @check as `true`;
Last_SQL_Error true
NO 1
select countjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
one 1
select.ebug_dbug=@saved_dbug;
one 1 set @@global.debug_dbug=@saved_dbug;
include/start_slave.inc
connection master;
truncate table tm;
truncate table ti;
connection slave; set @@stop;
java.lang.StringIndexOutOfBoundsException: Range [18, 10) out of bounds for length 18
begin;
insert intoseta=ull;
connec slave;
@@glodebug_dbug="d,java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 82
Note written thebinary using statement BINLOG_FORMAT=STATEMENTis unsafe because it accesses a non-transactional table after accessing a transactional table within the same transaction
commit;
connection slave;
include/.inc=java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
Fatal: .SQLjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 363
true
Fatal error: ... Slave SQLLast_SQL_Error true
select count(*) as one from tm;
one 1
select count(*) as zero fromFatal:.with having to java.lang.StringIndexOutOfBoundsException: Range [187, 186) out of bounds for length 319
zero 0 set @@global.debug_dbug=@saved_dbug;
stop slave;
truncate table tm;
include/start_slave.inc
connection master;
connection slave; set @@global.debug_dbug="d,stop_slave_middle_group,incomplete_group_in_relay_log";
connection master;
update tm as t1, ti as t2 set t1.a=t1.a * 2, t2.a=t2.a * 2;
connection slave;
include/wait_for_slave_sql_error.inc [errno=1593]
SELECTjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
Last_SQL_Error true
Fatal error: ... Slave SQL Thread stopped with incomplete event group having non-java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 21
select max(a) as two from tm;
two 2
select max(a) as one from ti;
one 1 SET @@GLOBAL.debug_dbug = @saved_dbug;
include/rpl_reset.inc
connection master;
drop table tm, ti;
connection slave;
include/rpl_end.inc
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.