Skip to content

Commit a02e7e3

Browse files
committed
Bug#36326896 ndbd should warn that it is single threaded
Make use of ndbd slightly more visible in data node output log. Example output : 2024-02-22 11:44:40 [ndbd] INFO -- NDBMT: non-mt 2024-02-22 11:44:40 [ndbd] WARNING -- Running ndbd with a single thread of signal execution. For multi-threaded signal execution run the ndbmtd binary. 2024-02-22 11:44:40 [ndbd] INFO -- NDB Cluster -- DB node 1 2024-02-22 11:44:40 [ndbd] INFO -- mysql-9.0.0 ndb-9.0.0 -- Change-Id: I96d1d0d35b42b992c5ec2a633b31a277bc925752
1 parent bee97f2 commit a02e7e3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

storage/ndb/src/kernel/ndbd.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2009, 2022, Oracle and/or its affiliates.
1+
/* Copyright (c) 2009, 2024, Oracle and/or its affiliates.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License, version 2.0,
@@ -548,6 +548,10 @@ get_multithreaded_config(EmulatorData& ed)
548548
if (!globalData.isNdbMt)
549549
{
550550
ndbout << "NDBMT: non-mt" << endl;
551+
g_eventLogger->warning(
552+
"Running ndbd with a single thread of signal execution. "
553+
"For multi-threaded signal execution run the ndbmtd binary.");
554+
551555
return 0;
552556
}
553557

0 commit comments

Comments
 (0)