Created by Laurynas Biveinis and last modified
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/BT-16274-bug1111226-5.1
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

526. By Laurynas Biveinis on 2013-02-07

Fix bug 1111226 (Writing larger than 4GB bitmap file fails; bitmap
write error causes heap corruption).

The first issue is incorrect higher 32 bits of write offset
calculation: the 64-bit offset was shifted to the left instead of the
right, fixed trivially.

The second issue is that if a bitmap page write fails (for example,
due to the condition above), then log_online_write_bitmap() exits
prematurely with a return code signalling error. But, if at least one
bitmap page was written successfully, then the written bitmap tree
nodes will be doubly pointed to: from the bitmap tree itself and from
the free node list. This will cause a heap corruption on the log
following thread shutdown (which happens immediatelly in the case of
bitmap write error).

Fixed by keeping iterating over the bitmap tree in case of error, but
skipping the actual write. This way all the tree nodes are moved to
free list for the subsequent cleanup.

Add a write failure injection site and a new testcase

525. By <email address hidden> on 2013-02-07

Merge lp:~hrvojem/percona-server/bug1065771-5.1

524. By <email address hidden> on 2013-02-07

Merge lp:~laurynas-biveinis/percona-server/bug1100178-1100643-5.1

523. By <email address hidden> on 2013-02-06

Merge lp:~laurynas-biveinis/percona-server/bug1083058-5.1

522. By <email address hidden> on 2013-02-06

Merge lp:~laurynas-biveinis/percona-server/BT-16274-bug1083669-5.1

521. By <email address hidden> on 2013-02-05

Merge lp:~laurynas-biveinis/percona-server/BT-16274-bug1083596-5.1

520. By <email address hidden> on 2013-02-04

Merge lp:~laurynas-biveinis/percona-server/BT-16274-bug1082437-5.1

519. By <email address hidden> on 2013-01-28

Merge lp:~laurynas-biveinis/percona-server/BT-16724-xtradb-bmp-requests-5.1

518. By <email address hidden> on 2013-01-21

Merge lp:~laurynas-biveinis/percona-server/bug110159-5.1

517. By <email address hidden> on 2013-01-19

Merge lp:~sergei.glushchenko/percona-server/51-ST-27220-bug1042946

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.