Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-06-12 10:36:11+02:00, tomas@stripped +4 -0
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-6.1
MERGE: 1.2403.9.65
storage/ndb/include/mgmapi/mgmapi_config_parameters.h@stripped, 2007-06-12 10:36:07+02:00, tomas@stripped +0 -0
Auto merged
MERGE: 1.32.1.2
storage/ndb/src/kernel/blocks/backup/Backup.cpp@stripped, 2007-06-12 10:36:07+02:00, tomas@stripped +0 -0
Auto merged
MERGE: 1.62.1.3
storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp@stripped, 2007-06-12 10:36:08+02:00, tomas@stripped +0 -0
Auto merged
MERGE: 1.55.1.8
storage/ndb/src/mgmsrv/ConfigInfo.cpp@stripped, 2007-06-12 10:36:08+02:00, tomas@stripped +0 -0
Auto merged
MERGE: 1.94.1.6
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: tomas
# Host: whalegate.ndb.mysql.com
# Root: /home/tomas/mysql-5.1-telco-6.1/RESYNC
--- 1.34/storage/ndb/include/mgmapi/mgmapi_config_parameters.h 2007-06-05 17:55:01 +02:00
+++ 1.35/storage/ndb/include/mgmapi/mgmapi_config_parameters.h 2007-06-12 10:36:07 +02:00
@@ -118,6 +118,8 @@
#define CFG_DB_O_DIRECT 168
+#define CFG_DB_MAX_ALLOCATE 169
+
#define CFG_DB_SGA 198 /* super pool mem */
#define CFG_DB_DATA_MEM_2 199 /* used in special build in 5.1 */
--- 1.101/storage/ndb/src/mgmsrv/ConfigInfo.cpp 2007-06-05 17:55:02 +02:00
+++ 1.102/storage/ndb/src/mgmsrv/ConfigInfo.cpp 2007-06-12 10:36:08 +02:00
@@ -1314,6 +1314,18 @@
STR_VALUE(MAX_INT_RNIL) },
{
+ CFG_DB_MAX_ALLOCATE,
+ "MaxAllocate",
+ DB_TOKEN,
+ "Maximum size of allocation to use when allocating memory for tables",
+ ConfigInfo::CI_USED,
+ false,
+ ConfigInfo::CI_INT,
+ "32M",
+ "1M",
+ "1G" },
+
+ {
CFG_DB_MEMREPORT_FREQUENCY,
"MemReportFrequency",
DB_TOKEN,
--- 1.65/storage/ndb/src/kernel/blocks/backup/Backup.cpp 2007-06-05 17:55:01 +02:00
+++ 1.66/storage/ndb/src/kernel/blocks/backup/Backup.cpp 2007-06-12 10:36:07 +02:00
@@ -448,6 +448,41 @@
filePtr.p->m_flags);
}
}
+
+ ndbout_c("m_curr_disk_write_speed: %u m_words_written_this_period: %u m_overflow_disk_write: %u",
+ m_curr_disk_write_speed, m_words_written_this_period, m_overflow_disk_write);
+ ndbout_c("m_reset_delay_used: %u m_reset_disk_speed_time: %llu",
+ m_reset_delay_used, (Uint64)m_reset_disk_speed_time);
+ for(c_backups.first(ptr); ptr.i != RNIL; c_backups.next(ptr))
+ {
+ ndbout_c("BackupRecord %u: BackupId: %u MasterRef: %x ClientRef: %x",
+ ptr.i, ptr.p->backupId, ptr.p->masterRef, ptr.p->clientRef);
+ ndbout_c(" State: %u", ptr.p->slaveState.getState());
+ ndbout_c(" noOfByte: %llu noOfRecords: %llu",
+ ptr.p->noOfBytes, ptr.p->noOfRecords);
+ ndbout_c(" noOfLogBytes: %llu noOfLogRecords: %llu",
+ ptr.p->noOfLogBytes, ptr.p->noOfLogRecords);
+ ndbout_c(" errorCode: %u", ptr.p->errorCode);
+ BackupFilePtr filePtr;
+ for(ptr.p->files.first(filePtr); filePtr.i != RNIL;
+ ptr.p->files.next(filePtr))
+ {
+ ndbout_c(" file %u: type: %u flags: H'%x tableId: %u fragmentId: %u",
+ filePtr.i, filePtr.p->fileType, filePtr.p->m_flags,
+ filePtr.p->tableId, filePtr.p->fragmentNo);
+ }
+ if (ptr.p->slaveState.getState() == SCANNING && ptr.p->dataFilePtr != RNIL)
+ {
+ c_backupFilePool.getPtr(filePtr, ptr.p->dataFilePtr);
+ OperationRecord & op = filePtr.p->operation;
+ Uint32 *tmp = NULL;
+ Uint32 sz = 0;
+ bool eof = FALSE;
+ bool ready = op.dataBuffer.getReadPtr(&tmp, &sz, &eof);
+ ndbout_c("ready: %s eof: %s", ready ? "TRUE" : "FALSE", eof ? "TRUE" : "FALSE");
+ }
+ }
+ return;
}
if(signal->theData[0] == 24){
/**
--- 1.64/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp 2007-05-14 10:37:28 +02:00
+++ 1.65/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp 2007-06-12 10:36:08 +02:00
@@ -2619,6 +2619,7 @@
ArrayPool<Page> c_page_pool;
Uint32 cnoOfAllocatedPages;
+ Uint32 m_max_allocate_pages;
Tablerec *tablerec;
Uint32 cnoOfTablerec;
| Thread |
|---|
| • bk commit into 5.1 tree (tomas:1.2553) | tomas | 12 Jun |