Re: [Maria-developers] pcre.h should be installed if MariaDB is built with bundled pcre ?

2014-11-06 Thread Sergei Golubchik
Hi, Kazuhiko! On Nov 04, Kazuhiko Shiozaki wrote: > Hi, > > pcre.h is not installed by 'make install' even if MariaDB is built with > bundled pcre. But pcre.h is referred in one of installed header files like : > > include/mysql/private/item_cmpfunc.h:#include "pcre.h" > /* pcre header file */ >

[Maria-developers] Memory barrier problem in InnoDB/XtraDB mutex implementation causing hangs

2014-11-06 Thread Kristian Nielsen
I have been debugging some test failures seen in Buildbot: https://mariadb.atlassian.net/browse/MDEV-7026 After some debugging, this is what I think is going on. I will refer to MariaDB 5.5 sources, though the problem is also in 10.0. InnoDB/XtraDB mutexes are taken in mutex_enter_func() and

[Maria-developers] Maybe a new information schema table for replication?

2014-11-06 Thread Roberto Spadim
Hi guys, i got one question these days and i don't know how to solve... the question is: "How to see the queries executing by replication thread?" i'm thinking about a information schema plugin to see whats is 'queued' in replication thread, at "master" (write to binlog) and "slave" (executing fro

Re: [Maria-developers] Memory barrier problem in InnoDB/XtraDB mutex implementation causing hangs

2014-11-06 Thread Sergey Vojtovich
Hi Kristian, On Thu, Nov 06, 2014 at 03:12:55PM +0100, Kristian Nielsen wrote: > I have been debugging some test failures seen in Buildbot: > > https://mariadb.atlassian.net/browse/MDEV-7026 > > After some debugging, this is what I think is going on. I will refer to > MariaDB 5.5 sources, th

Re: [Maria-developers] Memory barrier problem in InnoDB/XtraDB mutex implementation causing hangs

2014-11-06 Thread Kristian Nielsen
Sergey Vojtovich writes: >> # First spin wait, hoping to get the mutex without yielding. >> os_compare_and_swap_ulint(&mutex->waiters, 0, 1); > Where did you see "os_compare_and_swap_ulint(&mutex->waiters, 0, 1)"? > FWICS waiters of InnoDB mutex are non-atomic loads/stores. mutex_enter_func(

Re: [Maria-developers] Memory barrier problem in InnoDB/XtraDB mutex implementation causing hangs

2014-11-06 Thread Sergey Vojtovich
Kristian, thanks for your answers! My comments inline. On Thu, Nov 06, 2014 at 06:48:18PM +0100, Kristian Nielsen wrote: > Sergey Vojtovich writes: > > >> # First spin wait, hoping to get the mutex without yielding. > >> os_compare_and_swap_ulint(&mutex->waiters, 0, 1); > > Where did you se

Re: [Maria-developers] Memory barrier problem in InnoDB/XtraDB mutex implementation causing hangs

2014-11-06 Thread Kristian Nielsen
Sergey Vojtovich writes: > Never seen this before. InnoDB of 5.5 and InnoDB/XtraDB of 10.0 both have: > > UNIV_INTERN > void > mutex_set_waiters( > /*==*/ > ib_mutex_t* mutex, /*!< in: mutex */ > ulint n) /*!< in: value to set */ > { > volat

Re: [Maria-developers] [Commits] Rev 3879: MDEV-6593 : domain_id based replication filters in lp:~maria-captains/maria/maria-10.0-galera

2014-11-06 Thread Nirbhay Choubey
Hi! On Mon, Oct 27, 2014 at 9:12 AM, Kristian Nielsen wrote: > Nirbhay Choubey writes: > > > [NC] You are right, setting both DO_ and IGNORE_ at the same time would > not > > make any sense. > > But I actually followed the pattern of the existing replication, where > both > > _do_ and _ignore_