[MDEV-16777] galera.galera_gra_log fails with File ...GRA_*.log not found error Created: 2018-07-19  Updated: 2018-08-04  Resolved: 2018-07-19

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.1
Fix Version/s: 10.1.35, 10.2.17, 10.3.9, 10.4.0

Type: Bug Priority: Major
Reporter: Sergei Petrunia Assignee: Sergei Petrunia
Resolution: Fixed Votes: 0
Labels: None


 Description   

https://buildbot.askmonty.org/buildbot/builders/kvm-deb-bionic-aarch64/builds/312/steps/mtr/logs/stdio

galera.galera_gra_log 'innodb_plugin'    w2 [ fail ]
        Test ended at 2018-07-18 04:37:52
 
CURRENT_TEST: galera.galera_gra_log
/usr/bin/mysqlbinlog: File '/dev/shm/var/2/mysqld.2/data/GRA_*.log' not found (Errcode: 2 "No such file or directory")
mysqltest: At line 26: exec of '/usr/bin/mysqlbinlog --defaults-file=/dev/shm/var/2/my.cnf --local-load=/dev/shm/var/tmp/2 --short-form /dev/shm/var/2/mysqld.2/data/GRA_*.log' failed, error: 256, status: 1, errno: 2
Output from before failure:
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!40019 SET @@session.max_insert_delayed_threads=0*/;



 Comments   
Comment by Sergei Petrunia [ 2018-07-19 ]

Problem introduced by me in either this patch or a followup patches:

commit f46acd4a3a74c57a31226b11186746bce6c98813
Author: Sergei Petrunia <psergey@askmonty.org>
Date:   Fri Jun 29 14:00:00 2018 +0300
 
    Adopt Debian's fix-FTBFS-on-GNU-Hurd.patch.
    
    - Took the original patch by Ondrej Sury;
    - Applied a fix for a known problem in the patch:
       https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882062
    - Fixed a few other issues

Comment by Vladislav Vaintroub [ 2018-08-04 ]

This broke compile on Windows in 10.3, for a while
also, this patch introduced DIY strdup(), when it could have taken standard strdup().
https://github.com/MariaDB/server/commit/3570ea9189183705f639e41f7828055bee60ee43

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