lp:~gl-az/percona-server/bug1287650-5.6

Created by George Ormond Lorch III on 2014-03-05 and last modified on 2014-04-18
Get this branch:
bzr branch lp:~gl-az/percona-server/bug1287650-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

555. By George Ormond Lorch III on 2014-04-18

bug 1290714 - Maximum allowed value for log_slow_rate_limit is unreasonably
high

As suggested by Alexey, set the upper bound of the log_slow_rate_limit to
1000.

Modified sys_vars/log_slow_rate_limit.test to test for invalid rates.

bug 1287650 - Change log_slow_rate_type=query log_slow_rate_limit to be random

A simple change was made to allow selection of query to be logged to be random
rather than exactly every nth query. This is achieved by addind a new
rand_struct to 'class THD'. This has some ramifications for mtr cases in that
the actual queries logged and number of queries logged will be pseudo random and
only deterministic as long as the random sequence remains constant. To address
this, a DBUG_EXECUTE_IF was added to the THD initialization to seed the new
rand_struct with some constants rather than environmental/random-ish values.
This new debug state will only be utilized during a connection start up so
care must be observed in writing mtr cases that need this. They must set the
debug state then either reconnect or create a new connection to perform any
testing that requires deterministic results from the slow log rate limit.
Over time, the rate limit specified will be respected but at any given moment
the rate will likely be slightly over or under shot.

551. By Laurynas Biveinis on 2014-03-03

Null-merge lp:percona-server/5.5 rev 624

546. By Alexey Kopytov on 2014-02-26

Bug #1285064: MDL_map::m_backup_log and m_binlog_lock are not
              deallocated

Added missing MDL_lock::destroy() calls for m_backup_lock and
m_binlog_lock.

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.