[Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-07-28 Thread Joseph Glanville
Hi, I am using semi-sync replication with the `rpl_semi_sync_master_timeout` set to a very high value to ensure commits aren't committed on the master unless they have been replicated to the slave. However whenever the binlog filename changes the replication stalls indefinitely. A trace of

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-07-28 Thread Joseph Glanville
slave? On Thu, Jul 28, 2016 at 10:03 PM, Will Fong wrote: > Hi Joseph, > > On Fri, Jul 29, 2016 at 10:11 AM, Joseph Glanville wrote: >> However whenever the binlog filename changes the replication stalls >> indefinitely. > > Interesting! I may have reproduced th

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-07-28 Thread Joseph Glanville
Hi Pavel. Yes, by "binlog filename changes" I mean the master begins writing to a new binlog file. Output of all the requested commands are in this gist: https://gist.github.com/josephglanville/7b96c34bb6e79ace33e56627672b98a5 Joseph Glanville Sent from Polymail<https:

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-07-29 Thread Joseph Glanville
But to be honest, I don't quite understand how what you show us could happen, so I'm just asking to look at the info that I would look at if I were investigating such problem. On Thu, Jul 28, 2016 at 10:52 PM, Joseph Glanville mailto:j...@jpg.id.au>> wrote: Hi Pavel. Yes, by

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-07-29 Thread Joseph Glanville
aster begins writing to a new binlog. Joseph. From: Justin Swanhart Sent: Friday, 29 July 2016 6:17:28 PM To: Joseph Glanville Cc: Pavel Ivanov; maria-discuss@lists.launchpad.net Subject: Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-07-31 Thread Joseph Glanville
Sent: Saturday, 30 July 2016 9:07:54 AM To: Joseph Glanville Cc: Justin Swanhart; maria-discuss@lists.launchpad.net Subject: Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename. All the status variables look sane. But you've uploaded empty binlogs, there's no

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-08-12 Thread Joseph Glanville
x27;t see how noone else would have hit this if they are actually using semi-sync replication with reasonably large values for the semi-sync timeout. Joseph. From: Maria-discuss on behalf of Joseph Glanville Sent: Sunday, 31 July 2016 7:37:51 PM To: maria-di

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-08-13 Thread Joseph Glanville
much more debugging. Joseph. From: Pavel Ivanov Sent: Saturday, 13 August 2016 2:17:39 PM To: Joseph Glanville; Kristian Nielsen Cc: maria-discuss@lists.launchpad.net; Will Fong Subject: Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-08-15 Thread Joseph Glanville
Hi Pavel, Kristian, This fixes the problem for me. How do we go about getting this into a release? Joseph. From: Pavel Ivanov Sent: Tuesday, 16 August 2016 2:28 AM To: Kristian Nielsen; Jonas Oreland Cc: Joseph Glanville; maria-discuss@lists.launchpad.net

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-08-15 Thread Joseph Glanville
May have spoke too soon.. I forgot to set the settings back to AFTER_SYNC. Will have to test with correct settings again, sorry for the false positive. From: Maria-discuss on behalf of Joseph Glanville Sent: Tuesday, 16 August 2016 11:38:55 AM To: Pavel

Re: [Maria-discuss] Semi-sync replication hangs when changing binlog filename.

2016-08-15 Thread Joseph Glanville
Managed to get a build running with the patch and all of the settings correct (including AFTER_SYNC this time!) and seems to work well, no more hangs. From: Maria-discuss on behalf of Joseph Glanville Sent: Tuesday, 16 August 2016 11:41:34 AM To: Pavel Ivanov