Created by George Ormond Lorch III and last modified
Get this branch:
bzr branch lp:~gl-az/percona-server/ST-29716-bug1135097-5.6
Only George Ormond Lorch III can upload to this branch. If you are George Ormond Lorch III please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Recent revisions

319. By George Ormond Lorch III

Fix for upstream bugs.mysql.com/bug.php?id=68490 and bugs.launchpad.net/percona-server/+bug/1135097

When reconnecting to the master, the mysql client library in sql-common/client.c::mysql_reconnect creates a new 'tmp' MYSQL* with all default values (overwriting the MYSQL::net.max_packet_size with default). It then copies the contents of the tmp back into the passed in MYSQL*.

This causes issues with the slave connection when reconnecting because: 1) The code in handle_slave_io(...) is not setting the mysql->option.max_allowed_packet but directly manipulating the mysql->net.max_packet_size which gets reset when the connection is recreated as described above, and 2) the mysql->options.max_allowed_packet is being set in the top of handle_slave_io(...) and not in connect_to_master(...) where all other client options are being set for the connection and thus is not always properly set to the correct value depending on the reason for reconnecting.

The fix is somewhat simple, in sql/slave.cc, moves lines 2838-2845 from handle_slave_io to line 4270 and change:
  mysql->net.max_packet_size= thd->net.max_packet_size+= MAX_LOG_EVENT_HEADER;
  mysql->options.max_allowed_packet= thd->net.max_packet_size+= MAX_LOG_EVENT_HEADER;

Added test suite/rpl/t/rpl_packet_bug68490.test

317. By <email address hidden>

Merge lp:~stewart/percona-server/5.6-innodb-fast-checksum

316. By <email address hidden>

Merge lp:~hrvojem/percona-server/ps-24

315. By <email address hidden>

Merge lp:~stewart/percona-server/5.6.10

314. By Stewart Smith

re-commit BAlexey's fix for:

fixed bug 1103328, added --valgrind option for build and cmake error if valgrind required, but devel files not installed. changed tarball name appropriately

(i had to recommit due to inadvertant 5.1 and 5.5 merge to 5.6)

313. By <email address hidden>

Merge lp:~laurynas-biveinis/percona-server/bug1100178-5.6

312. By <email address hidden>

Merge lp:~sergei.glushchenko/percona-server/56-tp

311. By <email address hidden>

Merge lp:~sergei.glushchenko/percona-server/56-expand_fast_index_creation

310. By <email address hidden>

Merge lp:~stewart/percona-server/5.6.8

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.