Re: [Maria-developers] [Commits] 9f00950: MDEV-7631 : Invalid WSREP_SST rows appear in mysqld-bin.index file
Hi, Nirbhay! On Jun 24, Nirbhay Choubey wrote:
revision-id: 9f00950d2ad9be5533e66a5fa87a795a9574585f parent(s): 0f4478105f5027ce589a0f08c6019d906d632029 committer: Nirbhay Choubey branch nick: 10.0-galera.b7631 timestamp: 2015-06-24 23:25:22 -0400 message:
MDEV-7631 : Invalid WSREP_SST rows appear in mysqld-bin.index file
Try not to release 0 (STDIN_FILENO) file descriptor as it can incorrectly get reused by streams opened later.
This really deserved a more descriptive comment. There's nothing wrong when fd 0 is reused by other streams. The problem was that because of a bug (arguably) in old glibc in CentOS6/RHEL6 freopen remapped stdout/stderr to fd 0 and 1. Which is, on itself, is not a problem either, but when mysqld forked other processes, these children had no access to stdout and stderr. it's too late to recommit now and, luckily, MDEV-7631 has all the information about this issue. Regards, Sergei
participants (1)
-
Sergei Golubchik