Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for bug 1557293 in 5.7 #573

Merged
merged 3 commits into from Jun 9, 2016
Merged

Conversation

gl-sergei
Copy link
Contributor

No description provided.

@gl-sergei
Copy link
Contributor Author

http://jenkins.percona.com/view/5.7/job/mysql-5.7-param/195/#showFailuresLink

Jenkins is showing that something is very wrong with PS 5.7, but failures seems not related to the bug fix.

@gl-sergei
Copy link
Contributor Author

Instead of using fixed-length buffer for escaped query, escape all
strings and do other formatting into single buffer of size 4096
bytes. When 4096 bytes is not enough, allocate larger buffer (one per
thread).
Bug 1588439: Audit log hangs when trying to write log record of
             length audit_log_buffer_size

Bug 1588447: Audit log in ASYNC mode should not skip log records
             which don't fit into log buffer

Fix for bug 1588439:

Adjust conditions in audit_log_buffer_write and audit_log_flush to
allow records to pass through.

Fix for bug 1588447:

In ASYNCHRONOUS mode when audit record is longer than log buffer
size, log this record directly into file.
@gl-sergei
Copy link
Contributor Author

@gl-sergei
Copy link
Contributor Author

It is straight merge with some adjustments for PFS instrumentation of my_malloc/my_realloc. Self-approving.

@gl-sergei gl-sergei merged commit abf667b into percona:5.7 Jun 9, 2016
@gl-sergei gl-sergei deleted the 5.7-ps-bug1557293 branch November 24, 2016 02:05
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 23, 2020
Summary:
This diff adds more test coverages for bloomfilter
tests with reverse order column family
Closes facebook/mysql-5.6#573

Test Plan: mtr

Reviewed By: alxyang

Differential Revision: D4725588

Pulled By: yoshinorim

fbshipit-source-id: 0cc50b38923
inikep pushed a commit to inikep/percona-server that referenced this pull request Feb 24, 2021
Summary:
This diff adds more test coverages for bloomfilter
tests with reverse order column family
Closes facebook/mysql-5.6#573

Test Plan: mtr

Reviewed By: alxyang

Differential Revision: D4725588

Pulled By: yoshinorim

fbshipit-source-id: 0cc50b38923
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 15, 2021
Summary:
This diff adds more test coverages for bloomfilter
tests with reverse order column family
Closes facebook/mysql-5.6#573

Differential Revision: D4725588 (facebook/mysql-5.6@163cd2a)

Pulled By: yoshinorim

fbshipit-source-id: 363a4e895d2
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
Summary:
This diff adds more test coverages for bloomfilter
tests with reverse order column family
Closes facebook/mysql-5.6#573

Differential Revision: D4725588

Pulled By: yoshinorim
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 9, 2024
Summary:
This diff adds more test coverages for bloomfilter
tests with reverse order column family
Closes facebook/mysql-5.6#573

Differential Revision: D4725588

Pulled By: yoshinorim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants