mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Bug#24560 Data nodes died(lgman) if undo_buffer_size from logfile group has small value
This commit is contained in:
parent
cfd4183e5e
commit
f53e1929a2
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue