Commit 81e15b49 authored by unknown's avatar unknown

BUG#25992 Data nodes died during creating many tables based on different tablespaces.


storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Because TableSpaces, Datafiles, Undofiles and LogfileGroups uses the same id-space with Tables,
  when they are created, the objId allocated for TableSpaces, Datafiles, Undofiles and LogfileGroups 
  shouldn't satisfy the rule of (tableId < c_tableRecordPool.getSize()).
parent e716434c
...@@ -1090,7 +1090,6 @@ Dbdict::updateSchemaState(Signal* signal, Uint32 tableId, ...@@ -1090,7 +1090,6 @@ Dbdict::updateSchemaState(Signal* signal, Uint32 tableId,
SchemaFile::TableEntry* te, Callback* callback, SchemaFile::TableEntry* te, Callback* callback,
bool savetodisk){ bool savetodisk){
jam(); jam();
ndbrequire(tableId < c_tableRecordPool.getSize());
XSchemaFile * xsf = &c_schemaFile[c_schemaRecord.schemaPage != 0]; XSchemaFile * xsf = &c_schemaFile[c_schemaRecord.schemaPage != 0];
SchemaFile::TableEntry * tableEntry = getTableEntry(xsf, tableId); SchemaFile::TableEntry * tableEntry = getTableEntry(xsf, tableId);
......
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