Commit 6daee776 authored by unknown's avatar unknown

BUG #22547 LongMessageBuffer too large causes ndbd to exit and gives the exact...

BUG #22547 LongMessageBuffer too large causes ndbd to exit and gives the exact paramter name in error log.


storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
  Add a parameter id parameter for setSize method. When allocating memory error results in ndbd exit can gives exact parameter name in error log.
parent e1fb031f
......@@ -62,7 +62,8 @@ Cmvmi::Cmvmi(Block_context& ctx) :
&long_sig_buffer_size);
long_sig_buffer_size= long_sig_buffer_size / 256;
g_sectionSegmentPool.setSize(long_sig_buffer_size);
g_sectionSegmentPool.setSize(long_sig_buffer_size,
false,true,true,CFG_DB_LONG_SIGNAL_BUFFER);
// Add received signals
addRecSignal(GSN_CONNECT_REP, &Cmvmi::execCONNECT_REP);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment