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 (OCA) Email Updates:
Status: Verified Impact on me:
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
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.