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

Fixed bug 1416582 in PS 5.6 #80

Merged
merged 2 commits into from
May 27, 2015

Conversation

gl-sergei
Copy link
Contributor

…x_slowlog_size

Every time slow log file opened with max_slowlog_size > 0, new name
with next sequence number were generated.

Fix:
1. Open the last log file every time
2. Invoke rotate before actual write into slow log. This will prevent
   server from writing into overflown file.
3. Since FLUSH LOGS is essentially close and reopen, FLUSH LOGS will
   not start new slow log file.
* 5.5-ps-bug1416582:
  Bug 1416582: Slow query log is rotated before it should when using max_slowlog_size
@gl-sergei
Copy link
Contributor Author

laurynas-biveinis added a commit that referenced this pull request May 27, 2015
@laurynas-biveinis laurynas-biveinis merged commit b803e16 into percona:5.6 May 27, 2015
@gl-sergei gl-sergei deleted the 5.6-ps-bug1416582 branch November 24, 2016 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants