WL#4912: ConsoleLogger for ndbd
Affects: Server-7.1 — Status: Assigned — Priority: Medium
Remove the use of of EventLogger from ndbd and instead let it use a leaner class ConsoleLogger for printouts. ConsoleLogger should support the Logger interface but not need to lock a global mutex for each printout, thus eliminating the problem where ndbd may deadlock itself after a "crash" inside logger. this is especially important in the "crash code". To avoid locking a global mutex, we will only suppress repeated messages on a per thread basis. Each thread may store it's latest message in thread local storage.
Copyright (c) 2000, 2016, Oracle Corporation and/or its affiliates. All rights reserved.