Error log overwritten on server start
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
EvgeniyPatlan | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Starting or restarting Percona Server
mysql Ver 14.14 Distrib 5.6.36-82.0, for Linux (x86_64) using 6.2
on
CentOS Linux release 7.3.1611 (Core)
seems to truncate the existing error log file (/var/log/
I also have another setup with an older Percona Server
mysql Ver 14.14 Distrib 5.6.34-79.1, for Linux (x86_64) using 6.2
on
CentOS Linux release 7.3.1611 (Core)
and there the log is not overwritten but appended to, as expected.
Maybe related I also noticed on 5.6.34 the startup log starts with
170708 13:51:25 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2017-07-08 13:51:25 0 [Note] /usr/sbin/mysqld (mysqld 5.6.34-79.1-log) starting as process 8805 ...
2017-07-08 13:51:25 8805 [Note] Plugin 'FEDERATED' is disabled.
and on the 5.6.36 the first line is
2017-07-08 14:01:05 17157 [Note] Plugin 'FEDERATED' is disabled.
Changed in percona-server: | |
status: | Opinion → New |
Changed in percona-server: | |
status: | Incomplete → New |
tags: |
added: pkg removed: packaging |
Hello, I have successfully emulated the scenario and reproduced the bug in same environment. This will need discussion though if it is related to Percona Server or the CentOS. Attaching the history of commands while reproducing the bug in file error_log_ rotate_ test.txt