mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ndb - Embryo of overload protection
Add method to query free send buffer size ndb/include/transporter/TransporterRegistry.hpp: Allow accessing free send buffer size ndb/src/common/transporter/SCI_Transporter.cpp: Allow accessing free send buffer size ndb/src/common/transporter/SCI_Transporter.hpp: Allow accessing free send buffer size ndb/src/common/transporter/SHM_Buffer.hpp: Allow accessing free send buffer size ndb/src/common/transporter/SHM_Transporter.cpp: Allow accessing free send buffer size ndb/src/common/transporter/SHM_Transporter.hpp: Allow accessing free send buffer size ndb/src/common/transporter/SendBuffer.cpp: Allow accessing free send buffer size ndb/src/common/transporter/SendBuffer.hpp: Allow accessing free send buffer size ndb/src/common/transporter/TCP_Transporter.cpp: Allow accessing free send buffer size ndb/src/common/transporter/TCP_Transporter.hpp: Allow accessing free send buffer size ndb/src/common/transporter/Transporter.hpp: Allow accessing free send buffer size ndb/src/common/transporter/TransporterRegistry.cpp: Allow accessing free send buffer size ndb/src/mgmsrv/ConfigInfo.cpp: Increse min values for SHM and TCP transport send buffer size
This commit is contained in:
@ -178,6 +178,13 @@ public:
|
||||
bool createTransporter(struct SCI_TransporterConfiguration * config);
|
||||
bool createTransporter(struct SHM_TransporterConfiguration * config);
|
||||
bool createTransporter(struct OSE_TransporterConfiguration * config);
|
||||
|
||||
/**
|
||||
* Get free buffer space
|
||||
*
|
||||
* Get #free bytes in send buffer for <em>node</node>
|
||||
*/
|
||||
Uint32 get_free_buffer(Uint32 node) const ;
|
||||
|
||||
/**
|
||||
* prepareSend
|
||||
|
Reference in New Issue
Block a user