[MDEV-14431] binlog.binlog_flush_binlogs_delete_domain failed in buildbot Created: 2017-11-17  Updated: 2020-03-20  Resolved: 2018-10-16

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.1, 10.2
Fix Version/s: 10.1.37, 10.2.19

Type: Bug Priority: Major
Reporter: Alice Sherepa Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

http://buildbot.askmonty.org/buildbot/builders/p8-rhel6-bintar/builds/1328/steps/test/logs/stdio

binlog.binlog_flush_binlogs_delete_domain 'mix' w4 [ fail ]
        Test ended at 2017-11-17 03:16:19
 
CURRENT_TEST: binlog.binlog_flush_binlogs_delete_domain
mysqltest: At line 33: query 'FLUSH BINARY LOGS DELETE_DOMAIN_ID = (1)' succeeded - should have failed with errno 1982...
 
The result from queries just before the failure was:
< snip >
master-bin.000001	#
master-bin.000002	#
Non-existed domain is warned, the command completes without rotation
but with a warning
FLUSH BINARY LOGS DELETE_DOMAIN_ID = (99);
Warnings:
Warning	1982	The gtid domain being deleted ('99') is not in the current binlog state
show binary logs;
Log_name	File_size
master-bin.000001	#
master-bin.000002	#
SET @@SESSION.gtid_domain_id=1;
SET @@SESSION.server_id=1;
CREATE TABLE t (a int);
FLUSH BINARY LOGS DELETE_DOMAIN_ID = (1);



 Comments   
Comment by Alice Sherepa [ 2017-11-22 ]

on 10.2 http://buildbot.askmonty.org/buildbot/builders/p8-rhel6-bintar/builds/1340/steps/test/logs/stdio

Comment by Alice Sherepa [ 2017-12-04 ]

also on 10.3 http://buildbot.askmonty.org/buildbot/builders/p8-rhel6-bintar/builds/1373/steps/test/logs/stdio

Comment by Vladislav Vaintroub [ 2018-10-11 ]

https://github.com/mariadb/server/commit/250c6977fe2ad65cef5a2d26a60064b11e1e4ecf looks good

Comment by Andrei Elkin [ 2018-10-16 ]

Patch d8974ebd677 is pushed to 10.1.

Generated at Thu Feb 08 08:13:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.