too large transactions not handled gracefully

Bug #539589 reported by Seppo Jaakola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Fix Released
Undecided
Seppo Jaakola
0.7
Fix Released
Medium
Seppo Jaakola
0.8
Won't Fix
Medium
Seppo Jaakola

Bug Description

Replication provider can have limits for how many queries can be inside a transaction. Galera has 65535 as a limit for queries. However, when this limit is reached, mysqld does not rollback the query, but allows the transaction to commit locally.

The Galera library has also a but in detecting query limit, and currently crashes for too large transactions.

Related branches

Changed in codership-mysql:
assignee: nobody → Seppo Jaakola (seppo-jaakola)
importance: Undecided → Medium
milestone: none → 0.7.4
Changed in codership-mysql:
status: New → In Progress
Changed in codership-mysql:
milestone: 0.7.4 → none
assignee: Seppo Jaakola (seppo-jaakola) → nobody
importance: Medium → Undecided
status: In Progress → New
Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

Query limit check has been added. However, Galera library by default does not append queries in write sets, so this issue does not even manifest by defaulot configuration

Changed in codership-mysql:
milestone: none → 0.7.4
assignee: nobody → Seppo Jaakola (seppo-jaakola)
status: New → In Progress
Changed in codership-mysql:
status: In Progress → Fix Committed
Revision history for this message
Alex Yurchenko (ayurchen) wrote : Re: [Bug 539589] Re: too large transactions not handled gracefully

Hi Seppo,

I think it should be a row limit check, since we have limit on rows. And
you probably should not mark it as "Fix committed" unless there really is a
fix. If it is not going to be properly fixed for 0.7.4, then it should be
just rescheduled to 0.7.5

Otherwise we'll have a mess in our books.

On Mon, 24 May 2010 08:03:21 -0000, Seppo Jaakola
<email address hidden> wrote:
> Query limit check has been added. However, Galera library by default
> does not append queries in write sets, so this issue does not even
> manifest by defaulot configuration
>
> ** Changed in: codership-mysql
> Milestone: None => 0.7.4
>
> ** Changed in: codership-mysql
> Assignee: (unassigned) => Seppo Jaakola (seppo-jaakola)
>
> ** Changed in: codership-mysql/0.7
> Status: In Progress => Fix Committed
>
> ** Changed in: codership-mysql
> Status: New => In Progress

--
Alexey Yurchenko,
Codership Oy, www.codership.com
Skype: alexey.yurchenko, Phone: +358-400-516-011

Changed in codership-mysql:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.