mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
This commit is contained in:
commit
b7d6275656
2 changed files with 4 additions and 3 deletions
|
@ -6174,7 +6174,7 @@ void Dbdih::execCREATE_FRAGMENTATION_REQ(Signal * signal){
|
|||
break;
|
||||
case DictTabInfo::AllNodesLargeTable:
|
||||
jam();
|
||||
noOfFragments = 8 * cnoOfNodeGroups;
|
||||
noOfFragments = 4 * csystemnodes;
|
||||
break;
|
||||
case DictTabInfo::SingleFragment:
|
||||
jam();
|
||||
|
@ -11054,6 +11054,7 @@ void Dbdih::initRestorableGciFiles()
|
|||
|
||||
void Dbdih::initTable(TabRecordPtr tabPtr)
|
||||
{
|
||||
tabPtr.p->noOfFragChunks = 0;
|
||||
tabPtr.p->method = TabRecord::NOTDEFINED;
|
||||
tabPtr.p->tabStatus = TabRecord::TS_IDLE;
|
||||
tabPtr.p->noOfWords = 0;
|
||||
|
|
|
@ -154,8 +154,8 @@
|
|||
* DIH allocates fragments in chunk for fast find of fragment record.
|
||||
* These parameters define chunk size and log of chunk size.
|
||||
*/
|
||||
#define NO_OF_FRAGS_PER_CHUNK 8
|
||||
#define LOG_NO_OF_FRAGS_PER_CHUNK 3
|
||||
#define NO_OF_FRAGS_PER_CHUNK 4
|
||||
#define LOG_NO_OF_FRAGS_PER_CHUNK 2
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
// To avoid synching too big chunks at a time we synch after writing
|
||||
|
|
Loading…
Reference in a new issue