dbTalk Databases Forums  

multiple storage engines supporting XA

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss multiple storage engines supporting XA in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zardosht Kasheff
 
Posts: n/a

Default multiple storage engines supporting XA - 04-09-2012 , 10:32 AM






Hello all,

I am trying to add XA for our storage engine in 5.1.61, and am running
into http://bugs.mysql.com/bug.php?id=47134.

Does anyone have experience with adding a storage engine (in addition
to InnoDB) that supports XA to MySQL? Does 5.5 have this problem?
MariaDB?

Does MySQL work when multiple engines support XA? Commenters in the
bug report expressed doubts.

Thanks
-Zardosht

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Reply With Quote
  #2  
Old   
Sergei Golubchik
 
Posts: n/a

Default Re: multiple storage engines supporting XA - 04-09-2012 , 11:01 AM






Hi, Zardosht!

On Apr 09, Zardosht Kasheff wrote:
Quote:
I am trying to add XA for our storage engine in 5.1.61, and am running
into http://bugs.mysql.com/bug.php?id=47134.

Does anyone have experience with adding a storage engine (in addition
to InnoDB) that supports XA to MySQL? Does 5.5 have this problem?
MariaDB?
No. It was fixed in MariaDB 5.1 almost two years ago.

Regards,
Sergei

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Reply With Quote
  #3  
Old   
Stewart Smith
 
Posts: n/a

Default Re: multiple storage engines supporting XA - 04-09-2012 , 11:03 AM



On Mon, 9 Apr 2012 11:32:59 -0400, Zardosht Kasheff <zardosht (AT) gmail (DOT) com> wrote:
Quote:
Hello all,

I am trying to add XA for our storage engine in 5.1.61, and am running
into http://bugs.mysql.com/bug.php?id=47134.

Does anyone have experience with adding a storage engine (in addition
to InnoDB) that supports XA to MySQL? Does 5.5 have this problem?
MariaDB?

Does MySQL work when multiple engines support XA? Commenters in the
bug report expressed doubts.
It looks like Sergei has fixed it in MariaDB a long time ago, but I
don't see it fixed in MySQL (the Falcon team also hit this many years
ago too).

I don't predict that anyone at Oracle will look at these bugs anytime
soon.

Honestly, in this case, go use MariaDB if you don't want to have to
patch the server.

--
Stewart Smith

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Reply With Quote
  #4  
Old   
Zardosht Kasheff
 
Posts: n/a

Default Re: multiple storage engines supporting XA - 04-09-2012 , 12:12 PM



Hello Sergei,

Is there a patch available for this? Also, was this the only issue to
fix in order to get MariaDB working with multiple XA supporting
storage engines?

Thanks
-Zardosht

On Mon, Apr 9, 2012 at 12:01 PM, Sergei Golubchik <serg (AT) askmonty (DOT) org> wrote:
Quote:
Hi, Zardosht!

On Apr 09, Zardosht Kasheff wrote:
I am trying to add XA for our storage engine in 5.1.61, and am running
into http://bugs.mysql.com/bug.php?id=47134.

Does anyone have experience with adding a storage engine (in addition
to InnoDB) that supports XA to MySQL? Does 5.5 have this problem?
MariaDB?

No. It was fixed in MariaDB 5.1 almost two years ago.

Regards,
Sergei
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Reply With Quote
  #5  
Old   
Sergei Golubchik
 
Posts: n/a

Default Re: multiple storage engines supporting XA - 04-09-2012 , 02:16 PM



Hi, Zardosht!

On Apr 09, Zardosht Kasheff wrote:
Quote:
Hello Sergei,

Is there a patch available for this? Also, was this the only issue to
fix in order to get MariaDB working with multiple XA supporting
storage engines?
No, I just fixed it in MariaDB. But, of course, you can extract the
patch with bzr.

There were two issues. After I fixed the first one - a crash - a second
one started showing up. Incorrect mutex locking order (that can cause
deadlocks). It was found by MariaDB built-in mutex deadlock detector,
in MySQL it would've slipped in unnoticed.
This bug is fixed too, of course.

https://bugs.launchpad.net/maria/+bug/544173
https://bugs.launchpad.net/maria/+bug/578117

Quote:
On Mon, Apr 9, 2012 at 12:01 PM, Sergei Golubchik <serg (AT) askmonty (DOT) org> wrote:
Hi, Zardosht!

On Apr 09, Zardosht Kasheff wrote:
I am trying to add XA for our storage engine in 5.1.61, and am running
into http://bugs.mysql.com/bug.php?id=47134.

Does anyone have experience with adding a storage engine (in addition
to InnoDB) that supports XA to MySQL? Does 5.5 have this problem?
MariaDB?

No. It was fixed in MariaDB 5.1 almost two years ago.

Regards,
Sergei

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Regards,
Sergei

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.