branches with status:
Name Status Last Modified Last Commit
lp:~sergei.glushchenko/percona-xtrabackup/innobacupex-c Development 2015-02-20 19:21:56 UTC
5075. all tests passed on galera 5.6 except...

Author: Sergei Glushchenko
Revision Date: 2015-02-20 19:21:56 UTC

all tests passed on galera 5.6 except backup locks and SST

lp:~sergei.glushchenko/percona-xtrabackup/2.3-xb-bug1414221 bug(Has a merge proposal) Development 2015-02-12 12:32:28 UTC
5065. Automerge fix for bug 1414221 from 2....

Author: Sergei Glushchenko
Revision Date: 2015-02-12 12:32:28 UTC

Automerge fix for bug 1414221 from 2.3 series.

lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1414221 bug(Has a merge proposal) Development 2015-02-12 12:29:28 UTC
5063. Bug 1414221: Warning "The log was not...

Author: Sergei Glushchenko
Revision Date: 2015-02-12 12:29:28 UTC

Bug 1414221: Warning "The log was not applied to the intended LSN"
should optionally be an error

Instead of warning print an error message.
Print value of srv_start_lsn right after the error message.

lp:~sergei.glushchenko/percona-xtrabackup/2.2.8-xb-bug1368846 Development 2015-02-02 00:10:48 UTC
5060. 2.2.8 with fix for bug1368846

Author: Sergei Glushchenko
Revision Date: 2015-02-02 00:07:01 UTC

2.2.8 with fix for bug1368846

lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1368846 bug Development 2015-01-28 17:54:47 UTC
5054. Bug 1368846: xtrabackup Assertion fai...

Author: Sergei Glushchenko
Revision Date: 2015-01-28 17:52:24 UTC

Bug 1368846: xtrabackup Assertion failure with Apply log process

Looking at the stack trace I see pending IO complete operations
which led ibuf_merge after page_cleaner has stopped. We should not
stop page_cleaner if there are pending read IOs.

lp:~sergei.glushchenko/percona-xtrabackup/exclude-embedded-and-client-api Development 2015-01-16 23:27:35 UTC
5062. exclude client API

Author: Sergei Glushchenko
Revision Date: 2015-01-16 23:27:35 UTC

exclude client API

lp:~sergei.glushchenko/percona-xtrabackup/2.3-xb-bug1402450 bug(Has a merge proposal) Development 2014-12-15 19:21:29 UTC This branch is empty.
lp:~sergei.glushchenko/percona-xtrabackup/2.3-ST47405-xb-bug1388122 bug Development 2014-12-08 07:10:34 UTC
5048. Automerge fix for bug 1388122 from 2....

Author: Sergei Glushchenko
Revision Date: 2014-12-08 07:10:34 UTC

Automerge fix for bug 1388122 from 2.2 series.

lp:~sergei.glushchenko/percona-xtrabackup/2.2-ST47405-xb-bug1388122 bug Development 2014-12-08 07:07:59 UTC
5049. Bug 1388122: Innobackupex does not wo...

Author: Sergei Glushchenko
Revision Date: 2014-12-08 07:07:59 UTC

Bug 1388122: Innobackupex does not work with .mylogin.cnf on some
Linux versions

Use my_print_defaults to receive login options stored into
.mylogin.cnf. This login method will only be used if
my_print_defaults which comes with server package is installed.

lp:~sergei.glushchenko/percona-xtrabackup/test-test-test Development 2014-11-30 09:12:28 UTC This branch is empty.
lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1382347 bug(Has a merge proposal) Development 2014-10-27 01:10:07 UTC This branch is empty.
lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1240352 bug(Has a merge proposal) Development 2014-09-22 02:57:04 UTC This branch is empty.
lp:~sergei.glushchenko/percona-xtrabackup/2.1-xb-bug1240352 bug(Has a merge proposal) Development 2014-09-22 02:36:30 UTC
766. Bug 1240352: Sporadic t/ib_part_inclu...

Author: Sergei Glushchenko
Revision Date: 2014-09-22 02:35:22 UTC

Bug 1240352: Sporadic t/ib_part_include_stream.sh failures in Jenkins

Test fails with checksum = 0 before backup and checksum != 0 after
restore. Checksum value of zero indicates that data haven't made it
to the table yet. Since table is MyISAM, it can be effect of
concurrent inserts for example.

The fix is to FLUSH TABLES in order to make sure all data are
written into the table.

lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1222062 bug(Has a merge proposal) Development 2014-09-06 09:58:33 UTC This branch is empty.
lp:~sergei.glushchenko/percona-server/5.6-ps-bug1334570 bug(Has a merge proposal) Development 2014-09-01 04:30:04 UTC This branch is empty.
lp:~sergei.glushchenko/percona-server/deadlock-fix Development 2014-08-31 08:52:40 UTC
692. test deadlock fix on concurrent delete

Author: Sergei Glushchenko
Revision Date: 2014-08-31 08:49:54 UTC

test deadlock fix on concurrent delete

lp:~sergei.glushchenko/percona-xtrabackup/pxb-python-test Development 2014-08-25 04:35:22 UTC
756. test written in python

Author: Sergei Glushchenko
Revision Date: 2014-08-25 04:35:22 UTC

test written in python

lp:~sergei.glushchenko/percona-xtrabackup/2.1-xb-bug569387 bug(Has a merge proposal) Development 2014-08-22 14:36:16 UTC
757. Bug 569387: innobackupex ignores --da...

Author: Sergei Glushchenko
Revision Date: 2014-08-22 14:36:16 UTC

Bug 569387: innobackupex ignores --databases without --stream
Changes:
- two options have been added for xtrabackup:
- "--databases" is a space separated list of entries
database_name[.table_name]
- "--databases-file" is a name of file which contains entries
database_name[.table_name] one entry per line
- check_if_table_matches_filters has been modified to check whether
database is enabled first and then check the table
- databases and tables filters initialization has been refactored in
order to avoid code duplication
- innnobackupex's --databases option is mapped to one of these
options, depending on value.

lp:~sergei.glushchenko/percona-server/test Development 2014-08-04 09:26:37 UTC
671. attempt to fix

Author: Sergei Glushchenko
Revision Date: 2014-08-04 09:24:16 UTC

attempt to fix

lp:~sergei.glushchenko/percona-server/5.6-ps-blueprint-audit-log-plugin (Linked to a blueprint)(Has a merge proposal) Development 2014-04-21 12:11:10 UTC
541. Merge audit log plugin from 5.5

Author: Sergei Glushchenko
Revision Date: 2014-04-21 12:11:22 UTC

Merge audit log plugin from 5.5

lp:~sergei.glushchenko/percona-server/5.6-ps-blueprint-scalability-metrics (Linked to a blueprint)(Has a merge proposal) Development 2014-03-19 09:33:43 UTC
541. Merge plugin for scalability metrics ...

Author: Sergei Glushchenko
Revision Date: 2014-03-19 09:33:43 UTC

Merge plugin for scalability metrics from 5.5 series

lp:~sergei.glushchenko/percona-server/5.6-ST39577-ps-bug1289754 bug(Has a merge proposal) Development 2014-03-17 06:54:10 UTC
555. Merge test case for bug 1289754 from ...

Author: Sergei Glushchenko
Revision Date: 2014-03-16 07:21:40 UTC

Merge test case for bug 1289754 from 5.5

lp:~sergei.glushchenko/percona-server/5.5-ST39577-ps-bug1289754 bug(Has a merge proposal) Development 2014-03-17 06:53:53 UTC
625. Bug 1289754: table_id is defined diff...

Author: Sergei Glushchenko
Revision Date: 2014-03-15 16:58:09 UTC

Bug 1289754: table_id is defined differently in sql/table.h vs sql/log_event.h
Straightforward backport from MySQL 5.6

lp:~sergei.glushchenko/percona-xtrabackup/2.2-BT39727-xb-bug1284778 bug(Has a merge proposal) Development 2014-02-26 12:56:52 UTC This branch is empty.
lp:~sergei.glushchenko/percona-server/5.5-ps-blueprint-scalability-metrics (Linked to a blueprint)(Has a merge proposal) Development 2014-02-09 18:50:28 UTC
461. Plugin for scalability metrics. This ...

Author: Sergei Glushchenko
Revision Date: 2014-02-09 18:50:28 UTC

Plugin for scalability metrics.
This is an audit plugin which provides following status variables
once loaded and enabled:
- scalability_metrics_elapsedtime - total time elapsed since starting point
- scalability_metrics_queries - number of completed queries since starting point
- scalability_metrics_concurrency - number of queries currently executed
- scalability_metrics_totaltime - total execution time of all queries
- scalability_metrics_busytime - server's total busy time
time is counted in microseconds.
There is also the global control variable named scalability_metrics_control
with possible values ON, OFF, RESET.
Setting the value to ON enables counting of metrics. Setting it to OFF disables
counting. By setting the value to RESET one can reset counters (status
variables) while continuing to count metrics.

Notes on implementation.
Three types of notifications are used to count these metrics (all three are of
MYSQL_AUDIT_GENERAL_CLASS class).
MYSQL_AUDIT_GENERAL_LOG with command 'Query' and 'Execute' is considered a
query start event
MYSQL_AUDIT_GENERAL_RESULT and MYSQL_AUDIT_GENERAL_ERROR are considered a
query end event
Statistics calculated for each THD and stored in data structure
associated with THD. The only synchronization point is the atomic
variable used to track number of currently running queries. It is
used for the purpose of calculating server busy time. Once
variable becomes non-zero we start tracking busy time, once it
becomes zero, we stop doing it.

lp:~sergei.glushchenko/percona-server/audit_log Development 2014-02-09 14:20:31 UTC
515. fix some more warnings

Author: Sergei Glushchenko
Revision Date: 2014-02-09 14:20:31 UTC

fix some more warnings

lp:~sergei.glushchenko/percona-server/5.5-ps-bug1182535-rebase Development 2013-12-16 11:48:13 UTC
610. Bug 1182535: no MYSQL_AUDIT_GENERAL_L...

Author: Sergei Glushchenko
Revision Date: 2013-12-16 11:43:17 UTC

Bug 1182535: no MYSQL_AUDIT_GENERAL_LOG notifications with general log off
The reason is that MYSQL_AUDIT_GENERAL_LOG events are emitted in the same
method which does general log writes. Method is not called either if
general_log is turned off or if we don't want to log specific command.

Fixed my moving invocation of mysql_audit_general_log from
LOGGER::general_log_write() to general_log_write(). user_name
and time needed for both general log and audit log are
calculated twice if both enabled. Further optimization would be
to calculate user_name upon user login and/or change by change
user command.

lp:~sergei.glushchenko/percona-server/5.6-ps-sm-test Development 2013-12-10 15:47:18 UTC
509. change test case

Author: Sergei Glushchenko
Revision Date: 2013-12-10 15:41:50 UTC

change test case

lp:~sergei.glushchenko/percona-server/5.6-ps-bug1182535-test Development 2013-12-06 11:55:52 UTC
507. test

Author: Sergei Glushchenko
Revision Date: 2013-12-06 11:55:52 UTC

test

lp:~sergei.glushchenko/percona-xtrabackup/issue36945 Development 2013-11-14 14:06:59 UTC
681. add debug info

Author: Sergei Glushchenko
Revision Date: 2013-11-14 14:05:39 UTC

add debug info

lp:~sergei.glushchenko/percona-server/userstats-twitter (Has a merge proposal) Development 2013-10-15 11:35:33 UTC This branch is empty.
lp:~sergei.glushchenko/percona-server/valgrind-supp-qa Development 2013-09-26 12:39:55 UTC
448. valgrind suppressions

Author: Sergei Glushchenko
Revision Date: 2013-09-26 12:39:55 UTC

valgrind suppressions

lp:~sergei.glushchenko/percona-server/5.6-ps-bug1206065 bug Development 2013-09-24 11:09:38 UTC
403. Merge fix for #1206065 from 5.5. It i...

Author: Sergei Glushchenko
Revision Date: 2013-09-24 11:09:38 UTC

Merge fix for #1206065 from 5.5.
It is empty because was already fixed in
lp:~sergei.glushchenko/percona-server/5.6-ps-bug1194097.

lp:~sergei.glushchenko/percona-server/debug1193319 Development 2013-09-19 12:56:25 UTC
441. print debug info to help debugging th...

Author: Sergei Glushchenko
Revision Date: 2013-09-19 12:53:10 UTC

print debug info to help debugging the bug https://bugs.launchpad.net/percona-server/+bug/1193319

lp:~sergei.glushchenko/percona-server/5.5-ps-bug1206065 bug Development 2013-08-12 12:51:45 UTC
545. Fix for bug #1206065: Memory corrupti...

Author: Sergei Glushchenko
Revision Date: 2013-08-12 12:51:45 UTC

Fix for bug #1206065: Memory corruption at server shutdown when using threadpool.
Memory corruption is caused by concurrent writing to vio structure and releasing
memory occupied by very same structure. This is possible when close_sockets calls
vio_shutdown via post_kill_notification and epoll event handler thread destroys
THD because it's vio is closed.
Other invocations of post_kill_notification are protected by LOCK_thd_data mutex,
we doing same here.

lp:~sergei.glushchenko/percona-server/tp-fixes-summarized Development 2013-08-05 12:01:40 UTC
411. port MDEV-4566

Author: Sergei Glushchenko
Revision Date: 2013-08-05 12:01:40 UTC

port MDEV-4566

lp:~sergei.glushchenko/percona-server/5.6-ps-bug1191375 bug Development 2013-07-30 12:53:13 UTC
408. Bug 1191375: Percona Server 5.6 RC wi...

Author: Sergei Glushchenko
Revision Date: 2013-07-30 12:53:13 UTC

Bug 1191375: Percona Server 5.6 RC with thread pool crashes under load
Attached gdb stack trace points that SIGSEGV is emitted in pfs_spawn_thread,
when newly created thread tries to initialize some of it's instrumentation
properties by copying them prom parent's thread instrumentation properties.
This likely caused by the fact that parent thread finished shortly after
it spawned child thread and before child thread accessed parent's properties.
This patch fixes race by copying all needed properties from parent's
structures to the argument structure for child thread before the child
thread is spawned. This makes child thread initialization immune to parent's
thread death.

lp:~sergei.glushchenko/percona-server/56-threadpool-montser Development 2013-07-16 21:48:06 UTC
408. do not notify wait when timeout is 0

Author: Sergei Glushchenko
Revision Date: 2013-07-16 21:48:06 UTC

do not notify wait when timeout is 0

lp:~sergei.glushchenko/percona-server/5.5-ST32840-ps-bug1196460 Development 2013-07-01 12:01:12 UTC
545. Bug 1196460: Percona Server won't com...

Author: Sergei Glushchenko
Revision Date: 2013-07-01 12:01:12 UTC

Bug 1196460: Percona Server won't compile with dtrace: Sun D 1.11
`dtrace -G` invoked for every plugin to produce object file containing
instrumentation code. However for dtrace version "Sun D 1.11" invocation
`dtrace -G` for non-instrumented code filing with error.
Workaround is to not to invoke `dtrace -G` for non-instrumented plugins.
This is done by adding extra argument "DTRACE_INSTRUMENTED" to
MYSQL_ADD_PLUGIN macro. All plugins which need instrumentation been marked
as "DTRACE_INSTRUMENTED".
Also -DDISABLE_DTRACE=1 (--disabe-dtrace for ./configure) has been added to
omit dtrace instrumentation even when dtrace support is found.

lp:~sergei.glushchenko/percona-server/5.6-ST32840-ps-bug1196460 Development 2013-07-01 11:02:12 UTC
400. Merge fix for bug 1196460 from 5.5 se...

Author: Sergei Glushchenko
Revision Date: 2013-07-01 11:02:12 UTC

Merge fix for bug 1196460 from 5.5 series.

lp:~sergei.glushchenko/percona-server/5.5-ps-dtrace Development 2013-06-29 22:38:09 UTC
545. This patch adds option --disable-dtra...

Author: Sergei Glushchenko
Revision Date: 2013-06-29 22:21:59 UTC

This patch adds option --disable-dtrace (-DDISABLE_DTRACE=1 for cmake),
also this patch adds DTRACE_INSTRUMENTED argument for MYSQL_ADD_PLUGIN
macro. This allows to tell build system to perform actions needed to
instrument the plugin. Plugins which are needed to be instumented
declared as DTRACE_INSTRUMENTED.

lp:~sergei.glushchenko/percona-server/5.6-ps-bug1192354-pre Development 2013-06-25 22:10:59 UTC
386. Automerge lp:~sergei.glushchenko/perc...

Author: Laurynas Biveinis
Revision Date: 2013-06-19 11:34:32 UTC

Automerge lp:~sergei.glushchenko/percona-server/5.6-merge-pam

lp:~sergei.glushchenko/percona-server/fix-limit-5.6 Development 2013-06-23 16:00:11 UTC
390. monkeyfix of failing test

Author: Sergei Glushchenko
Revision Date: 2013-06-23 16:00:11 UTC

monkeyfix of failing test

lp:~sergei.glushchenko/percona-server/fix-limit-5.5 Development 2013-06-23 15:25:39 UTC
518. test cases

Author: Sergei Glushchenko
Revision Date: 2013-06-23 15:10:31 UTC

test cases

lp:~sergei.glushchenko/percona-server/fix1192354 Development 2013-06-20 17:58:36 UTC
387. test fix for bug 1192354

Author: Sergei Glushchenko
Revision Date: 2013-06-20 17:54:55 UTC

test fix for bug 1192354

lp:~sergei.glushchenko/percona-server/5.6-latest-with-metrics Development 2013-06-13 18:26:15 UTC
385. merge scalability metrics plugin

Author: Sergei Glushchenko
Revision Date: 2013-06-13 18:26:15 UTC

merge scalability metrics plugin

lp:~sergei.glushchenko/percona-server/5.5-latest-with-metrics Development 2013-06-13 18:22:52 UTC
539. merge scalability metrics plugin

Author: Sergei Glushchenko
Revision Date: 2013-06-13 18:22:52 UTC

merge scalability metrics plugin

lp:~sergei.glushchenko/percona-server/5.6-ps-bug1182949 bug(Has a merge proposal) Development 2013-06-12 14:47:40 UTC
384. Merge fix and test case for bug 11829...

Author: Sergei Glushchenko
Revision Date: 2013-06-12 14:47:40 UTC

Merge fix and test case for bug 1182949 from 5.5 series.

lp:~sergei.glushchenko/percona-server/5.5-ps-bug1182949 bug(Has a merge proposal) Development 2013-06-11 19:42:19 UTC
462. Merge fix for bug 1182949 from 5.1 se...

Author: Sergei Glushchenko
Revision Date: 2013-06-11 19:42:19 UTC

Merge fix for bug 1182949 from 5.1 series.
Add testcase for this bug with using audit_null plugin.

lp:~sergei.glushchenko/percona-server/5.1-ps-bug1182949 bug(Has a merge proposal) Development 2013-06-11 19:29:13 UTC
535. Bug 1182949: Prepared statements are ...

Author: Sergei Glushchenko
Revision Date: 2013-06-11 19:29:13 UTC

Bug 1182949: Prepared statements are written to general query log after being executed
Fix is to move invocation of general_log_write before the statement execution. This
keeps the feature that expanded statements are logged by execute event, but
makes metrics less precise since time taken by query expansion won't be accounted.

lp:~sergei.glushchenko/percona-server/scalability-metrics Development 2013-06-11 17:19:01 UTC
461. Plugin for scalability metrics. This ...

Author: Sergei Glushchenko
Revision Date: 2013-06-11 17:19:01 UTC

Plugin for scalability metrics.
This is an audit plugin which provides following status variables
once loaded and enabled:
- scalability_metrics_elapsedtime - total time elapsed since starting point
- scalability_metrics_queries - number of completed queries since starting point
- scalability_metrics_concurrency - number of queries currently executed
- scalability_metrics_totaltime - total execution time of all queries
- scalability_metrics_busytime - server's total busy time
time is counted in microseconds.
There is also the global control variable named scalability_metrics_ctl
with possible values ON, OFF, RESET.
Setting the value to ON enables counting of metrics. Setting it to OFF disables
counting. By setting the value to RESET one can reset counters (status
variables) while continuing to count metrics.

Notes on implementation.
Three types of notifications are used to count these metrics (all three are of
MYSQL_AUDIT_GENERAL_CLASS class).
MYSQL_AUDIT_GENERAL_LOG with command 'Query' and 'Execute' is considered a
query start event
MYSQL_AUDIT_GENERAL_RESULT and MYSQL_AUDIT_GENERAL_ERROR are considered a
query end event
Time intervals are calculated with mutex held. Pressure on this mutex
however is nearly not as much as pressure on LOCK_plugin used by MySQL.
Timestamps are gathered on Linux by using clock_gettime(CLOCK_MONOTONIC, )
which should use TSC CPU register to receive time and also should be
fully executed in user-space via VDSO. Since OS X lacks clock_gettime,
mach_absolute_time was used on this platform. QueryPerformanceCounter
can be used on Windows, but it is not implemented since author donesn't
have access to Windows machine.

lp:~sergei.glushchenko/percona-server/55-latest-with-metrics Development 2013-06-07 10:37:34 UTC This branch has not been pushed to yet.
lp:~sergei.glushchenko/percona-server/55-pam Development 2013-06-03 17:03:15 UTC
533. test

Author: Sergei Glushchenko
Revision Date: 2013-06-03 16:54:39 UTC

test

lp:~sergei.glushchenko/percona-xtrabackup/buffer_pool_dump-2.0 Development 2013-04-25 12:51:29 UTC
542. Blueprint: Support InnoDB buffer pool...

Author: Sergei Glushchenko
Revision Date: 2013-04-25 12:51:29 UTC

Blueprint: Support InnoDB buffer pool dumps in MySQL 5.6
https://blueprints.launchpad.net/percona-xtrabackup/+spec/support-56-buffer-pool-dumps
MySQL 5.6 adds an ability to dump the buffer pool into file for it to be
possible to load it into memory at startup or on demand. The location of
buffer pool file is set by global variable innodb_buffer_pool_filename
and is relative to MySQL data directory.
The patch adds an ability to take a backup of buffer pool dump. It has been
made exactly the same way as XtraDB LRU dump is backed up.
Three tests have been added for this feature. One takes regular backup and
after takes streaming backup. Another one takes backup with --rsync
option. Third test tests feature with incremental backups.

lp:~sergei.glushchenko/percona-server/5.5-bug1092593-test Development 2013-04-19 15:55:07 UTC
461. Bug 1092593: crash resistant replicat...

Author: Sergei Glushchenko
Revision Date: 2013-04-19 15:47:39 UTC

Bug 1092593: crash resistant replication doesn't work correctly after
             change master or reset slave
    - further might look rather unstructured; so one might benefit from
      refreshing discussion here https://code.launchpad.net/~laurynas-biveinis/percona-server/bug1012715-5.1/+merge/120042
      before reading this
    - this is how I imagine XA-transactions flow
      * BEGIN do something PREPARE COMMIT BEGIN do something PREPARE COMMIT
      * on each state ROLLBACK can be issued except after
        the COMMIT has been completed successfully and BEGIN is not issued
        (it this case ROLLBACK will just be noop)
      * ROLLBACK should leave us somewhere before the BEGIN
    - when InnoDB performs recovery it takes binlog position
      from the "prepare" point.
    - after this XA transaction can be reverted or committed
    - if XA transaction is reverted then we take binlog position
      from "commit" point which in this case is older than "prepare"
    - if XA transaction is committed then we continue to use "prepare"
      which in this case of same age as "commit" point
    - this however does not work when XA transactions are not in use;
      in this case we never write "prepare" points
    - this might be masked by the fact that we never have real info
      in "prepare" points so it's content is not overwrite MySQL *-info
      files; it is still bad because we don't really have transactional
      writes for binlog position as has been claimed in the documentation
    - solution of this problem looks trivial for me; on commit we should
      overwrite both "prepare" and "commit"; this doesn't make any harm
      as after commit there is no way back to prepare anyway, so XA-case
      continues to work
    - non XA case will look as following
      BEGIN do something COMMIT BEGIN do something COMMIT
      * commit and prepare become the one commit point after which
        there is no way back and it is reflected in our "commit" and
        "prepare" points holding the same binlog position; rollback
        is possible to the previous commit point only

lp:~sergei.glushchenko/+junk/repro1092593 Development 2013-04-17 15:15:31 UTC
1. repro scripts for bug #1092593

Author: Sergei Glushchenko
Revision Date: 2013-04-17 15:15:31 UTC

repro scripts for bug #1092593

lp:~sergei.glushchenko/percona-server/2.0-bug1130145 Development 2013-04-12 12:53:57 UTC This branch has not been pushed to yet.
lp:~sergei.glushchenko/percona-server/2.0-bug1125993 Development 2013-04-11 10:01:19 UTC This branch has not been pushed to yet.
lp:~sergei.glushchenko/percona-server/ps56-univ-log-archive-xtra-startup Development 2013-03-30 09:27:22 UTC
325. Determining offset by reading achive ...

Author: Sergei Glushchenko
Revision Date: 2013-03-30 09:27:22 UTC

Determining offset by reading achive header on startup has been implemented

lp:~sergei.glushchenko/percona-server/ps56-univ-log-archive-xtra-checkpoint-fields Development 2013-03-30 05:25:17 UTC
324. Implementation of log archiving based...

Author: Sergei Glushchenko
Revision Date: 2013-03-29 06:38:46 UTC

Implementation of log archiving based on branch by KAlexey
which enables UNIV_LOG_ARCHIVE
* variables and startup parameters have following names:
  - innodb_log_archive = ON/OFF
  - innodb_log_arch_dir = DIR
  - innodb_log_arch_expire_sec = N
* archive log files naming has been changed from original
  zero-based sequence (0, 1, 2, 3) to sequence of start LSNs
  of archived file. Also prefix has been changed to be
  the same as in previous implementation. Numeric part of
  archived log file name has been changed to be
  20 characters width, zero padded
* purge commands have been implemented
  (PURGE ARCHIVED LOGS BEFORE/TO)
* innodb_log_arch_expire_sec has been implemented
* innodb_xtra_log_archive_throttle has not been implemented
  as it is not applicable
* type of archived_file_no, archived_offset, next_archived_file_no,
  next_archived_offset members of log_group_t has been changed to
  lsn_t
* two additional fields in chechpoint record have been introduced
  to store high 4 bytes of archived file number and offset in
  archived file

lp:~sergei.glushchenko/percona-server/ps56-univ-log-archive-testing Development 2013-03-28 15:35:09 UTC
325. 4-bit archived offset and file number...

Author: Sergei Glushchenko
Revision Date: 2013-03-28 15:35:09 UTC

4-bit archived offset and file number; long lines

lp:~sergei.glushchenko/percona-server/5.5-bug1157356 bug Development 2013-03-25 13:42:36 UTC
461. Port workaround for epoll bug in Linu...

Author: Sergei Glushchenko
Revision Date: 2013-03-25 13:33:45 UTC

Port workaround for epoll bug in Linux kernels from MariaDB.
New global boolean option threadpool_workaround_epoll_bug has been
added which if is set changes io_poll_start_read implementation
from using EPOLL_CTL_MOD to EPOLL_CTL_DEL and EPOLL_CTL_ADD.

lp:~sergei.glushchenko/percona-server/56-bug1157037 bug(Has a merge proposal) Development 2013-03-21 14:57:57 UTC
323. Bug 1157037 create_duplicate_weedout_...

Author: Sergei Glushchenko
Revision Date: 2013-03-21 14:46:55 UTC

Bug 1157037 create_duplicate_weedout_tmp_table() leaves key_part_flag uninitialized
Manual initialization of key_part_info fields has been replaced with
KEY_PART_INFO::init_from_field invocation.

lp:~sergei.glushchenko/percona-server/56-memory_dynamic_rows Development 2013-03-16 23:10:56 UTC
324. fix derived.test

Author: Sergei Glushchenko
Revision Date: 2013-03-16 23:10:56 UTC

fix derived.test

lp:~sergei.glushchenko/percona-server/ps56-univ-log-archive-qa Development 2013-03-16 12:27:34 UTC
314. Merge from latest feature branch

Author: Sergei Glushchenko
Revision Date: 2013-03-16 12:27:34 UTC

Merge from latest feature branch

lp:~sergei.glushchenko/percona-server/55-bug1132194 Development 2013-03-08 09:54:10 UTC
461. BUG#1132194: UPDATE/DELETE with LIMIT...

Author: Sergei Glushchenko
Revision Date: 2013-03-08 09:54:10 UTC

BUG#1132194: UPDATE/DELETE with LIMIT clause unsafe for SBR
even when ORDER BY PK is present

MYSQL BUGUG#42415 UPDATE/DELETE with LIMIT clause unsafe for SBL
even with ORDER BY PK clause

This is an adoption of http://lists.mysql.com/commits/126382

This is only a partial solution which allows to suppress warning
in many cases when statement with LIMIT isn't really nondeterministic.
Partial means that in mixed mode all statements with LIMIT will be
switched to ROW unconditionally. To determine whether the staments is
really unsafe some analysis of query should be performed. This requires
in particular all tables should be opened and all fields should be
fixed. However decision to switch to ROW mode is made before this
happens.

Original description:
UPDATE/DELETE/INSERT..SELECT with LIMIT clause were considered unsafe
unconditionally, even if there is an ORDER BY PK or WHERE condition
that can guarantee the result to be deterministic.

The problem is fixed by implementing a algorithm to do more elaborate
analyzed on the nature of the query to determine whether the query
will cause uncertainty for replication or not.

The statement will not be considered unsafe for following cases:
 - single table UPDATE/DELETE/INSERT..SELECT with ORDER BY
   <non null unique key>
 - single table UPDATE/DELETE/INSERT..SELECT with WHERE clause
   that include <non null unique key> = <const value>, if it is
   a multi-part key, then it must be <keypart1>=<const1> AND
   <keypart2>=<const2> ..., and this condition is ANDed with
   other conditions if there is any.
 - single table INSERT..SELECT with WHERE clause
   that include some parts of the non null unique key compare to
   const values, and the ORDER BY clause includes all the other
   key pars of the same non null unique key. for example (a,b) is
   a non null unique key, then WHERE a=<const> ORDER b will make
   the query result deterministic.
 - for INSERT..SELECT ... JOIN ..., the join condition (ON,
   USING, or WHERE) must include equations between columns of
   non null unique key of tables from both side of the join.
   For example t1 JOIN t2 USING (a,b), if (a,b) is not a non null
   unique key for both t1 and t2, then the result will be non-
   deterministic. otherwise the result can be deterministic with
   appropirate WHERE/ORDER clauses, and in this case, the same
   rule for single table above applys. But there is a difference
   for INNER JOIN with OUTER JOIN, for OUTER JOIN, only one table
   of the two JOIN tables will be used when checking the WHERE/ORDER
   conditions, it's the left table for LEFT JOIN and the right one
   for RIGHT JOIN when checking the keys. On the other hand, for
   INNER JOIN, keys from both tables can be used when checking
   the conditions. For example:
     INSERT..SELECT * FROM t1 INNER JOIN t2 USING(pk) ORDER BY nnuk LIMIT 1;
   This can be safe if nnuk is a non null unique key of either
   t1 or t2. But if we change the INNER JOIN to LEFT JOIN or
   RIGHT JOIN, then nnuk must be a non null unique key key of
   t1 (LEFT JOIN) or t2 (RIGHT JOIN) respectively.
 - If JOIN are nested, the will be handled recursively from inner
   outside.
 - UNIONs without global LIMIT are unsafe if any of sub-selects
   is unsafe, and safe if all sub-selects are safe. UNIONs with
   global LIMIT are marked unsafe no matter this is ORDER BY or
   not.

If the key field length is longer than MAX_SORT_LENGTH, then it
will be ignore and not treated as a key field.

lp:~sergei.glushchenko/percona-server/56-bug1131856 bug Development 2013-02-25 08:26:40 UTC
317. Port of fix for bug 1131856 from 5.5 ...

Author: Sergei Glushchenko
Revision Date: 2013-02-25 08:21:30 UTC

Port of fix for bug 1131856 from 5.5 series

lp:~sergei.glushchenko/percona-server/55-bug1131856 bug Development 2013-02-25 08:14:20 UTC
451. Bug 1131856 dec_connection_count() de...

Author: Sergei Glushchenko
Revision Date: 2013-02-25 08:10:47 UTC

Bug 1131856
dec_connection_count() definition doesn't match its declaration
Declaration has been changed to match definition.

lp:~sergei.glushchenko/percona-xtrabackup/xb20-databases bug(Has a merge proposal) Development 2013-02-25 07:59:35 UTC
496. Bug 569387 xtrabackup ignores --datab...

Author: Sergei Glushchenko
Revision Date: 2013-02-25 07:57:21 UTC

Bug 569387
xtrabackup ignores --databases, i.e. when --databases
is specified it affects only innobackupex script,
InnoDB data will be copied fully.
two options have been added for xtrabackup
  * --databases is a space separated list of entries database_name[.table_name]
  * --databases-file is a name of file which contains
          entries database_name[.table_name] one entry per line
  * check_if_skip_table has been modified to check whether database is
    enabled first and after check the table
  * databases and tables filters initialization has been refactored
    in order to avoid code duplication
innnobackupex's --databases option is mapped to one of these options,
depending on value.
Bug 1131084
Unneccessary/debug print in xtrabackup output.
There was msg("xtrabackup: tables regcomp(%s): %s\n", p, errbuf);
which has been removed in this branch.

lp:~sergei.glushchenko/percona-server/ST-28169-Bug1127008-5.6 bug(Has a merge proposal) Development 2013-02-20 06:00:53 UTC
316. Port of fix for bug 1127008 from 5.5 ...

Author: Sergei Glushchenko
Revision Date: 2013-02-20 05:52:53 UTC

Port of fix for bug 1127008 from 5.5 series

lp:~sergei.glushchenko/percona-server/55-tp-fixmp Development 2013-02-13 15:22:22 UTC
369. fix mp

Author: Sergei Glushchenko
Revision Date: 2013-02-13 15:17:37 UTC

fix mp

lp:~sergei.glushchenko/percona-server/56-univ-log-archive-work Development 2013-02-12 15:19:08 UTC
313. More accurate LSN in file number (mat...

Author: Sergei Glushchenko
Revision Date: 2013-02-12 11:55:22 UTC

More accurate LSN in file number (matches with LSN in file number)

lp:~sergei.glushchenko/percona-server/56-threadpool Development 2013-02-01 15:43:40 UTC
320. merge with threadpool

Author: Sergei Glushchenko
Revision Date: 2013-02-01 15:31:40 UTC

merge with threadpool

lp:~sergei.glushchenko/percona-server/ps51-log-archiving-extra-log-file Development 2013-01-17 09:50:09 UTC
495. Add extra log file to log file group ...

Author: Sergei Glushchenko
Revision Date: 2013-01-17 08:43:57 UTC

Add extra log file to log file group when log archiving
is turned on. innodb_xtra_log_archive has been made
read only.

lp:~sergei.glushchenko/percona-xtrabackup/ps51-log-archiving-extra-log-file Development 2013-01-17 09:20:29 UTC This branch has not been pushed to yet.
lp:~sergei.glushchenko/percona-xtrabackup/xb21-databases bug Development 2013-01-14 05:58:15 UTC
477. Bug 569387 xtrabackup ignores --datab...

Author: Sergei Glushchenko
Revision Date: 2013-01-14 05:58:15 UTC

Bug 569387
xtrabackup ignores --databases, i.e. when --databases
is specified it affects only innobackupex script,
InnoDB data will be copied fully.
--databases and --databases-file options been introduced
for xtrabackup binary, which cover two modes of --databases
option of innobackupex.

lp:~sergei.glushchenko/percona-server/55-tp-fix Development 2013-01-09 16:57:51 UTC
369. fix main.percona_query_response_time-...

Author: Sergei Glushchenko
Revision Date: 2013-01-09 16:55:47 UTC

fix main.percona_query_response_time-replication

lp:~sergei.glushchenko/percona-xtrabackup/xb21-part-test Development 2013-01-02 14:46:32 UTC
467. test

Author: Sergei Glushchenko
Revision Date: 2013-01-02 14:46:32 UTC

test

lp:~sergei.glushchenko/percona-server/release-5.5.28-29.1-bug1042946 Development 2012-12-19 19:32:49 UTC
336. Fix issue 27220, bug 1042946

Author: Sergei Glushchenko
Revision Date: 2012-12-19 19:31:48 UTC

Fix issue 27220, bug 1042946

lp:~sergei.glushchenko/percona-server/release-5.5.28-29.2-bug1042946 Development 2012-12-19 11:22:24 UTC
361. Fix issue 27220, bug 1042946

Author: Sergei Glushchenko
Revision Date: 2012-12-19 11:22:24 UTC

Fix issue 27220, bug 1042946

lp:~sergei.glushchenko/mysql-server/56-expand_fast_index_creation (Has a merge proposal) Development 2012-12-14 14:51:37 UTC
3931. Stronger assertion. Check that mdl_ti...

Author: Sergei Glushchenko
Revision Date: 2012-12-14 14:51:37 UTC

Stronger assertion. Check that mdl_ticket == 0 only for temporary table

lp:~sergei.glushchenko/percona-server/55-thread-pool Development 2012-12-06 14:47:25 UTC
342. Test rpl_rotate_logs fails with assse...

Author: Sergei Glushchenko
Revision Date: 2012-12-06 14:47:25 UTC

Test rpl_rotate_logs fails with asssertion
Assertion failed: (thread_group->connection_count > 0), function wait_begin, file sql/threadpool_unix.cc, line 1151.
The reason is that when threadpool_remove_connection performs THD cleanup,
it calls close_temporary_tables which calls MYSQL_BIN_LOG::write, which calls
MYSQL_BIN_LOG::rotate and eventually my_sync is called which calls wait_begin,
which deal with connection's group. However connection count in group been
alreadyn decreased in connection_abort before threadpool_remove_connection been
called.

lp:~sergei.glushchenko/mysql-server/efic Development 2012-11-08 07:13:46 UTC This branch has not been pushed to yet.
lp:~sergei.glushchenko/percona-server/ps51-log-archive-crashing Development 2012-10-22 16:04:00 UTC
453. basic testing for crashing

Author: Sergei Glushchenko
Revision Date: 2012-10-22 14:18:04 UTC

basic testing for crashing

lp:~sergei.glushchenko/percona-server/ps51-log-archive Development 2012-10-22 13:16:00 UTC
494. Merge with 5.1 trunk

Author: Sergei Glushchenko
Revision Date: 2012-10-22 13:16:00 UTC

Merge with 5.1 trunk

lp:~sergei.glushchenko/percona-xtrabackup/xb-tools (Linked to a blueprint)(Has a merge proposal) Development 2012-10-04 15:30:46 UTC
417. made extra initialization for innodb5...

Author: Sergei Glushchenko
Revision Date: 2012-10-04 15:30:46 UTC

made extra initialization for innodb51 only

lp:~sergei.glushchenko/percona-xtrabackup/xb-tools-testing Development 2012-10-04 15:30:46 UTC
417. made extra initialization for innodb5...

Author: Sergei Glushchenko
Revision Date: 2012-10-04 15:30:46 UTC

made extra initialization for innodb51 only

lp:~sergei.glushchenko/percona-xtrabackup/bug711166_part-1.6 bug(Has a merge proposal) Development 2012-09-18 13:02:37 UTC
348. Partitioned tables are not correctly ...

Author: Sergei Glushchenko
Revision Date: 2012-09-18 13:02:37 UTC

Partitioned tables are not correctly handled by the --databases, --include,
--tables-file options of innobackupex, and by the --tables and
--tables-file options of xtrabackup.
Solution is to remove partition suffix (#P#...) before doing filtering.
Testcases cover variants of using filtering options with MyISAM and
InnoDB tables (to test both innobackupex and xtrabackup) with either stream
mode turned on and turned off.

lp:~sergei.glushchenko/percona-server/ps55-128-max-index-gca Development 2012-09-17 14:30:12 UTC
298. Merge fix for bug 1042517 from 5.1

Author: Sergei Glushchenko
Revision Date: 2012-09-17 14:28:01 UTC

Merge fix for bug 1042517 from 5.1

lp:~sergei.glushchenko/percona-server/ps51-128-max-index-gca Development 2012-09-17 14:25:26 UTC
3660. This is a merge of fix for --with-max...

Author: Sergei Glushchenko
Revision Date: 2012-09-17 14:24:16 UTC

This is a merge of fix for --with-max-indexes=128 by Alexey Kopytov.
This fix originally was committed to lp:percona-server/rnt-5.1.
Original commit message is:
Fix for MySQL bug #54127: mysqld segfaults when built using
--with-max-indexes=128

When using a non-default MAX_KEY value, a different code path is used
when processing index bitmaps. With the default value of 64, the
optimized "template <> class Bitmap<64>" is used which represents and
processes bitmaps as 64-bit integeres. Otherwise, "template <uint
default_width> class Bitmap" is used in which case bitmaps are
represented as arrays.

Multiple problems with the "non-optimized" Bitmap class were discovered
when testing a server binary built with --with-max-indexes=128:

1. bitmap_set_prefix() could overrun the internal buffer when resetting
the remainder of the buffer after setting the prefix due to an
incorrectly calculated remainder's length. This was the reason for the
crash on startup in MySQL bug #54127.

2. Bitmap::intersect() did not take into account that bitmap_init()
resets the supplied buffer, so an intersection with a zero bitmap was
always calculated (reported as MySQL #61178). This led to numerous test
failures due to different execution plans produced by the optimizer.

3. Bitmap::to_ulonglong() incorrectly calculated the result value due to
serious bugs in [u]int*korr/[u]int*store set of macros in
my_global.h (reported as MySQL bugs #61179 and #61180). This led to test
failures in distinct.test and group_min_max.test.

There are still a number of failing tests when running the test suite
with --with-max-indexes=128:

- create.test contains a test case explicitly testing the 64-bit index
limit;

- the ps_N* series of tests verifies the metadata sent by EXPLAIN, where
the field length of "possible_keys" and "key_len" columns depends on
the MAX_KEY value and hence, is different for a binary built with a
non-default value of --with-max-indexes.

The workaround was implemented for failing tests.
include/have_64_keys.inc verify MAX_INDEXES by requesting EXPLAIN
metadata and if MAX_INDEXES is different from default value the
test is skipped.

lp:~sergei.glushchenko/percona-xtrabackup/xb-tools-0913 Development 2012-09-13 17:47:42 UTC
408. InnoDB coding conventions, comments f...

Author: Sergei Glushchenko
Revision Date: 2012-09-13 17:47:42 UTC

InnoDB coding conventions, comments for functions and arguments.
Fixed some warnings.

lp:~sergei.glushchenko/percona-xtrabackup/bug711166_part-1.9 bug Development 2012-09-07 11:08:33 UTC
399. Bug 711166 Partitioned tables are not...

Author: Sergei Glushchenko
Revision Date: 2012-03-05 04:31:19 UTC

Bug 711166
Partitioned tables are not correctly handled by the --databases, --include,
--tables-file options of innobackupex, and by the --tables and
--tables-file options of xtrabackup.
Solution is to remove partition suffix (#P#...) before doing filtering.
Testcases cover variants of using filtering options with MyISAM and
InnoDB tables (to test both innobackupex and xtrabackup) with either stream
mode turned on and turned off.

lp:~sergei.glushchenko/percona-server/issue25495 Development 2012-08-29 09:45:30 UTC
234. apply fix for bug 747032 to release-5...

Author: Sergei Glushchenko
Revision Date: 2012-08-29 09:44:41 UTC

apply fix for bug 747032 to release-5.1.57-12.8

lp:~sergei.glushchenko/percona-xtrabackup/datasink_popen Development 2012-08-28 16:39:38 UTC
463. implementation of datasink_popen

Author: Sergei Glushchenko
Revision Date: 2012-08-28 16:30:17 UTC

implementation of datasink_popen

lp:~sergei.glushchenko/percona-server/dfc Development 2012-08-27 14:43:46 UTC
447. new iteration

Author: Sergei Glushchenko
Revision Date: 2012-08-27 14:43:46 UTC

new iteration

lp:~sergei.glushchenko/percona-xtrabackup/20-decompress (Linked to a blueprint)(Has a merge proposal) Development 2012-08-19 12:13:34 UTC
462. BP https://blueprints.launchpad.net/p...

Author: Sergei Glushchenko
Revision Date: 2012-08-19 12:13:34 UTC

BP https://blueprints.launchpad.net/percona-xtrabackup/+spec/xbstream-decompress
Support for decompression in xbstream. New option -z been added to
automatically decompress .qp files inside the stream. decompress datasink
been implemented for qpress10 one-file archives extraction.

lp:~sergei.glushchenko/percona-xtrabackup/21-decompress (Linked to a blueprint) Development 2012-08-15 14:56:33 UTC
428. merge decompression from 2.0 series

Author: Sergei Glushchenko
Revision Date: 2012-08-15 14:54:29 UTC

merge decompression from 2.0 series

lp:~sergei.glushchenko/percona-xtrabackup/2.1-decompress-thread-per-file Development 2012-07-23 17:34:00 UTC
415. implemetation with single thread for ...

Author: Sergei Glushchenko
Revision Date: 2012-07-23 17:34:00 UTC

implemetation with single thread for archived file

lp:~sergei.glushchenko/percona-xtrabackup/2.1-decompression Development 2012-07-23 15:40:44 UTC
415. initial implementation of decompression

Author: Sergei Glushchenko
Revision Date: 2012-07-23 15:39:56 UTC

initial implementation of decompression

lp:~sergei.glushchenko/percona-xtrabackup/issue24669 Development 2012-07-11 08:31:52 UTC
448. merge 2.0 trunk

Author: Sergei Glushchenko
Revision Date: 2012-07-11 08:30:26 UTC

merge 2.0 trunk

1100 of 128 results