lp:~akopytov/percona-server/bug1162085-5.1

Created by Alexey Kopytov on 2013-04-01 and last modified on 2013-04-01
Get this branch:
bzr branch lp:~akopytov/percona-server/bug1162085-5.1
Only Alexey Kopytov can upload to this branch. If you are Alexey Kopytov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

535. By Alexey Kopytov on 2013-04-01

Bug #1162085: Percona server 5.5.30-rel30.1.465 reproducable hang

The fix for bug #1070856 that the underlying binlog cache file is always
larger then the offset passed to truncate_cached_file(). Which is not
always the case, because a part of the data which has already been
written may be in the IO_CACHE buffer, but not yet on disk.

What happened in the test case was that the server wrote ~48K data into
the binlog cache with 32K written to disk and the remaining part
residing in the IO_CACHE buffer. On the ROLLBACK TO statement the server
called truncate_cached_file() with the 48K offset, in which case
my_chsize() actually increased the underlying file by appending 16K worth
of zero bytes. When the remaining 16K bytes were eventually flushed to
disk on COMMIT, my_b_flush_io_cache() appended them again to the file,
resulting in the 64K total file size. This in turn led to
MYSQL_BIN_LOG::write_cache() hanging when reading bogus zero bytes due
to nonsensical zero offsets in the binlog cache.

Fixed truncate_cached_file() to only call my_chsize() when the
underlying cache file is larger than the passed offset.

534. By <email address hidden> on 2013-02-27

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

533. By <email address hidden> on 2013-02-27

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

532. By <email address hidden> on 2013-02-13

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

531. By <email address hidden> on 2013-02-13

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

530. By <email address hidden> on 2013-02-13

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

529. By Stewart Smith on 2013-02-11

merge slow query log bugfixes from Laurynas

528. By <email address hidden> on 2013-02-09

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

527. By <email address hidden> on 2013-02-08

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

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

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

Branch metadata

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

Subscribers