Bug #88404 Forcing close of thread XXX messages have extra new line in them.

Submitted: 8 Nov 2017 13:17 Modified: 8 Nov 2017 13:51
Reporter: Simon Mudd Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Logging Severity:S3 (Non-critical)
Version:5.6/5.7/8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: logging, shutdown

[8 Nov 2017 13:17] Simon Mudd
Description:
When shutting down a server I see:

2017-11-08T03:31:12.522747Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 1261954  user: 'aaaaaaa'

2017-11-08T03:31:12.522819Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 1273306  user: 'bbbbbbbbbb'

2017-11-08T03:31:12.522853Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 1275837  user: 'ccccccccccc'

2017-11-08T03:31:12.522877Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 1265361  user: 'ddddddd'

(usernames have been removed)

Note: there's an extra blank line in the output.

How to repeat:
Shutdown the serve with active connections

Suggested fix:
Remove the blank line in logging.

Note: not a big deal and probably a one line fix somewhere. (extra "\n" where not intended?)
[8 Nov 2017 13:51] MySQL Verification Team
Thank you for the bug report. 5.6/5.7/8.0 affected.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.