Bug #97225 During early server startup loglines can be ignored when buffered on the same us
Submitted: 15 Oct 2019 9:28 Modified: 4 Nov 2019 14:42
Reporter: Marcin Babij Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Logging Severity:S3 (Non-critical)
Version:9 OS:Any
Assigned to: CPU Architecture:Any

[15 Oct 2019 9:28] Marcin Babij
During early server startup a few loglines can be logged in fast succession. Some of them can be ignored when buffered on the same microsecond. Especially if the underlying system time resolution is not under 1us.

How to repeat:
Run MySQL server on Windows hosted on VirtualBox with --initialize_insecure. Observed when InnoDB creates it's structures on disk and fails with error.

Suggested fix:
Force loglines to not have the same buffered timestamp.
[4 Nov 2019 14:42] Paul DuBois
Posted by developer:
Fixed in 8.0.19.

Buffered log lines during system startup could be lost.