Bug#24560 Data nodes died(lgman) if undo_buffer_size from logfile group has small value

parent cfd4183e
......@@ -18,6 +18,7 @@
#define DBDICT_C
#include "Dbdict.hpp"
#include "diskpage.hpp"
#include <ndb_limits.h>
#include <NdbOut.hpp>
......@@ -15498,7 +15499,10 @@ Dbdict::create_fg_prepare_start(Signal* signal, SchemaOp* op){
}
else if(fg.FilegroupType == DictTabInfo::LogfileGroup)
{
if(!fg.LF_UndoBufferSize)
/**
* undo_buffer_size can't be less than 96KB in LGMAN block
*/
if(fg.LF_UndoBufferSize < 3 * File_formats::NDB_PAGE_SIZE)
{
op->m_errorCode = CreateFilegroupRef::InvalidUndoBufferSize;
break;
......
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