summaryrefslogtreecommitdiff
path: root/ndb
Commit message (Collapse)AuthorAgeFilesLines
* Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-06-021-1/+2
|\ | | | | | | | | | | | | into dl145b.mysql.com:/home/ndbdev/tomas/tmp
| * CommandInterpreter.cpp:unknown2005-06-021-1/+2
| | | | | | | | | | | | | | | | Bug #11050 ndb_mgm "show" prints incorrectly after master data node fails ndb/src/mgmclient/CommandInterpreter.cpp: Bug #11050 ndb_mgm "show" prints incorrectly after master data node fails
* | Fix icc compiler warningunknown2005-05-261-1/+0
|/ | | | | ndb/src/kernel/blocks/dbtux/Dbtux.hpp: Removed second forward declaration of "struct DescEnt"
* BUG#10831 ndb mgmd LogDestination maxfiles does not rotate logs properlyunknown2005-05-251-23/+3
| | | | | | | | | | | ndb/src/common/util/File.cpp: my_stat returns NULL on failure, not non-zero. i.e. exactly the opposite of stat(2). providing confusion for unix programmers, who expect errors to be non-zero. Clean up File_class::exists(char*) to use the my_stat interface properly.
* Build fixes for icc, compile _without_ "-no-gnu"unknown2005-05-232-8/+1
| | | | | | | | | include/my_global.h: icc does not define __ICC when emulating gcc. Use __INTEL_COMPILER to check for icc. ndb/src/cw/cpcd/Process.cpp: Remove rlimit64 ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp: Remove dirent64
* Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-05-181-0/+1
|\ | | | | | | | | | | | | into mysql.com:/space/pekka/ndb/version/my41
| * ndb - allow upgrade 4.1.10->4.1.12unknown2005-05-181-0/+1
| | | | | | | | | | ndb/src/common/util/version.c: allow upgrade 4.1.10->4.1.12
* | ndberror.c:unknown2005-05-181-2/+2
|/ | | | | | | | | | updated error message for ndb ndb/src/ndbapi/ndberror.c: updated error message for ndb BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-05-0924-585/+350
|\ | | | | | | | | | | | | | | | | | | into mysql.com:/home/jonas/src/mysql-4.1 ndb/src/cw/cpcd/Process.cpp: Auto merged ndb/src/kernel/error/ErrorReporter.cpp: Auto merged
| * bug#10142 - ndb unique index resource shortageunknown2005-05-091-1/+1
| | | | | | | | | | | | | | | | honor abort_option as TC now abort on 288 ndb/src/ndbapi/NdbIndexOperation.cpp: honor settings as TC now abort on 288
| * ndb - autotestunknown2005-05-081-1/+1
| | | | | | | | | | | | | | | | fix name of result tar ball ndb/test/run-test/ndb-autotest.sh: append run to result tar ball
| * ndb - autotestunknown2005-05-075-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix configs and scripts ndb/test/run-test/conf-daily-basic-dl145a.txt: fix ports ndb/test/run-test/conf-daily-basic-ndbmaster.txt: fix ports ndb/test/run-test/conf-daily-devel-ndbmaster.txt: fix ports ndb/test/run-test/conf-daily-sql-ndbmaster.txt: fix ports ndb/test/run-test/ndb-autotest.sh: minor bugs
| * ndb - autotestunknown2005-05-073-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | fixes ndb/test/run-test/conf-daily-basic-dl145a.txt: dl145 uses /home for running ndb/test/run-test/make-config.sh: output d.txt aswell ndb/test/run-test/ndb-autotest.sh: more scripts updates
| * ndb - autotestunknown2005-05-072-16/+17
| | | | | | | | | | | | | | | | | | | | | | upgrades to shell script ndb/test/run-test/Makefile.am: add config files ndb/test/run-test/ndb-autotest.sh: bump version use rsync to sync participating hosts
| * ndb - autotestunknown2005-05-065-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix count of nodes needed in test ndb/test/run-test/conf-daily-basic-dl145a.txt: Fix typo ndb/test/run-test/conf-daily-basic-ndbmaster.txt: Fix typo ndb/test/run-test/conf-daily-devel-ndbmaster.txt: Fix typo ndb/test/run-test/conf-daily-sql-ndbmaster.txt: Fix typo ndb/test/run-test/ndb-autotest.sh: Fix count of needed computers for test
| * ndb - autotestunknown2005-05-061-1/+1
| | | | | | | | | | | | | | | | fix to ndb-autotest.sh ndb/test/run-test/ndb-autotest.sh: Add bin/ to get access to ndb_cpcc
| * ndb - autotestunknown2005-05-066-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add shutdown options (so far only SIGKILL), so that there won't be any strace mysqld threads ndb/src/cw/cpcd/APIService.cpp: Add shutdown options (so far only SIGKILL) ndb/src/cw/cpcd/CPCD.hpp: Add shutdown options (so far only SIGKILL) ndb/src/cw/cpcd/Process.cpp: Add shutdown options (so far only SIGKILL) ndb/test/include/CpcClient.hpp: Add shutdown options (so far only SIGKILL) ndb/test/run-test/main.cpp: Add shutdown options (so far only SIGKILL) ndb/test/src/CpcClient.cpp: Add shutdown options (so far only SIGKILL)
| * ndb - autotestunknown2005-05-067-8/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | put config files in bk ndb/test/run-test/make-config.sh: Corrent directory ndb/test/run-test/ndb-autotest.sh: Check for 5.1 disrectory structure Add config files to distribution Remove unpacking for ndb-autotest.sh
| * ndb - autotestunknown2005-05-062-8/+22
| | | | | | | | | | | | | | | | | | | | | | use newly created script for faster handling of several configurations ndb/test/run-test/make-config.sh: put cluster config in same config as distribution config ndb/test/run-test/ndb-autotest.sh: 1) install mysql_db 2) use make-config script
| * ndb - autotestunknown2005-05-061-444/+63
| | | | | | | | | | | | | | | | update make-config script ndb/test/run-test/make-config.sh: update make-config script
| * ndb - add support for mysql servers in autotestunknown2005-05-062-22/+20
| |
| * ndb - testNodeRestart -n LateCommitunknown2005-05-051-1/+1
| | | | | | | | | | | | | | | | increase no of rows so that the node failure will "guaranteed" produce an aborted transaction ndb/test/ndbapi/testNodeRestart.cpp: increase no of rows so that the node failure will "guaranteed" produce an aborted transaction
| * bug#10142 - ndb unique indexunknown2005-05-051-9/+4
| | | | | | | | | | | | | | | | | | | | post review fixes ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: remove printout abort transaction instead of operation. concider m_exec_flag
| * bug#10358 - ndbunknown2005-05-043-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Cluster failure with non started nodes can result in timedout transactions ndb/src/mgmapi/mgmapi.cpp: Increase timeout for restarts ndb/src/ndbapi/ClusterMgr.cpp: Report NFCOMPLETEREP if no alive node exists (instead of no connected node exists) ndb/src/ndbapi/ClusterMgr.hpp: Report NFCOMPLETEREP if no alive node exists (instead of no connected node exists)
| * Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-05-046-77/+47
| |\ | | | | | | | | | | | | | | | | | | into mysql.com:/home/jonas/src/mysql-4.1
| | * bug#10142 - ndb unhandle resource shortage in unique index codeunknown2005-05-036-77/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/src/kernel/blocks/dbtc/Dbtc.hpp: remove unneccessary TcSeizedIndexOperation object ndb/src/kernel/blocks/dbtc/DbtcInit.cpp: remove unneccessary TcSeizedIndexOperation object ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: 1) Set transid on starting TCINDXREQ 2) New error code for out of index operation records 3) Check accumulating index op for RNIL before dereferencing it ndb/src/kernel/error/ErrorReporter.cpp: Include NDB version in ndb_X_error.log ndb/src/ndbapi/NdbIndexOperation.cpp: Let failed tcindxreq abort ndb/src/ndbapi/ndberror.c: New error code for out of index operation records
* | | Fixes to compile with iccunknown2005-05-082-1/+8
| | |
* | | bug#9813: Post review fixesunknown2005-05-071-5/+6
| | |
* | | ndb - bug#8928unknown2005-05-071-0/+2
| | | | | | | | | | | | | | | ndb/src/kernel/blocks/dbdict/Dbdict.cpp: same number of lh3distrbits for all frags
* | | Bug#10193unknown2005-05-061-0/+5
|/ / | | | | | | | | | | | | | | Invalid DataDir in config causes ndbd segfault ndb/src/kernel/error/ErrorReporter.cpp: print error and return error if unable to open the file for error reporting.
* | logging_ok:unknown2005-05-041-2/+6
|/ | | | | | | | | | | | | | | | Logging to logging@openlogging.org accepted NDBT_ResultRow.cpp, ndb_restore.test, ndb_restore.result: BUG#10287 mysql-test/r/ndb_restore.result: BUG#10287 mysql-test/t/ndb_restore.test: BUG#10287 ndb/test/src/NDBT_ResultRow.cpp: BUG#10287 BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* Fix for avoiding gettin Invalid schema object version when doing local changesunknown2005-04-272-5/+11
|
* Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-04-2725-1070/+1099
|\ | | | | | | | | | | | | | | into mysql.com:/home/jonas/src/mysql-4.1 ndb/src/ndbapi/ndberror.c: Auto merged
| * bug#9749 - ndb lock upgrade unknown2005-04-252-11/+18
| | | | | | | | | | | | | | | | | | | | | | post review fix. don't init hash value on restart operations make sure that lock mode is correct in entire que. ndb/test/ndbapi/testOperations.cpp: Test case also for abort case. (abort if not lock owner still fails!)
| * ndb - autotestunknown2005-04-251-0/+24
| | | | | | | | | | | | | | | | | | add more tests to verify correctness of backups ndb/test/run-test/daily-basic-tests.txt: ndb - test add more tests to verify correctness of backups
| * bug#9924 - ndb backupunknown2005-04-251-4/+0
| | | | | | | | | | | | | | remove incorrect assertion
| * bug#9924 - ndb backup - abort handlingunknown2005-04-241-0/+1
| | | | | | | | | | | | | | uninit variable
| * Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-04-2225-1067/+1068
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jonas/src/mysql-4.1 ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Auto merged ndb/src/ndbapi/ndberror.c: Auto merged
| | * bug#9724 - ndb restartunknown2005-04-221-2/+8
| | | | | | | | | | | | | | | | | | | | | if file already open occur print files...
| | * bug#9969 - ndbunknown2005-04-222-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | missleading error message ndb/test/src/NdbBackup.cpp: typo
| | * bug#9924 - ndb backup abort handlingunknown2005-04-2216-959/+750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redo abort handling according to descr. in Backup.txt bug#9960 - ndb backup increase wait completed timeout to 48 hours ndb/include/kernel/signaldata/BackupImpl.hpp: Add nodeid to reply to be able to fake reply during NF ndb/include/kernel/signaldata/BackupSignalData.hpp: new error codes ndb/src/common/debugger/signaldata/BackupImpl.cpp: fix printout ndb/src/kernel/blocks/backup/Backup.cpp: bug#9924 - ndb backup abort handling Redo abort handling according to descr. in Backup.txt ndb/src/kernel/blocks/backup/Backup.hpp: bug#9924 - ndb backup abort handling Redo abort handling according to descr. in Backup.txt ndb/src/kernel/blocks/backup/Backup.txt: bug#9924 - ndb backup abort handling Redo abort handling according to descr. in Backup.txt ndb/src/kernel/blocks/backup/BackupInit.cpp: bug#9924 - ndb backup abort handling Redo abort handling according to descr. in Backup.txt ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Init own version ndb/src/mgmapi/mgmapi.cpp: bug#9960 - ndb backup increase wait completed timeout to 48 hours ndb/src/mgmsrv/MgmtSrvr.cpp: Handle node failures activly (mainly for backup...) ndb/src/mgmsrv/MgmtSrvr.hpp: Handle node failures activly (mainly for backup...) ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp: Handle node failures activly (mainly for backup...) ndb/src/ndbapi/ndberror.c: new error codes ndb/test/ndbapi/testBackup.cpp: fix return codes ndb/test/run-test/daily-basic-tests.txt: Add failure test cases to autotest ndb/test/src/NdbBackup.cpp: fix error codes introduce checking of backup resources after each test
| | * bug#9892unknown2005-04-183-14/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make BUILDINDX RF_LOCAL aware ndb/src/ndbapi/Ndbif.cpp: allow TCKEY_FAILREF w/ invalid magic number also when NDB_NODROPPED_SIGNAL ndb/test/ndbapi/testIndex.cpp: Run only 1 update thread during NFNR2_O
| | * BUG#9891 - ndb lcpunknown2005-04-143-45/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Crash if ACC_CONTOPREQ was sent while ACC_LCPCONF was in job buffer if ACC_LCPCONF would have arrived eariler (before TUP_LCPSTARTED) operations could lockup. But would be restarted on next LCP -- LQH 1) Better check for LCP started that will also return true if ACC or TUP already has completed 2) Remove incorrect if statement that prevented operations to be started if ACC has completed -- ACC Make sure all ACC_CONTOPCONF are sent before releasing lcp record i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF) Check for == 4 also when sending ACC_CONTOPCONF ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: Make sure all ACC_CONTOPCONF are sent before releasing lcp record i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF) Check for == 4 also when sending ACC_CONTOPCONF ndb/src/kernel/blocks/dblqh/Dblqh.hpp: Remove LCP_STARTED state ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: 1) Better check for LCP started that will also return true if ACC or TUP already has completed 2) Remove incorrect if statement that prevented operations to be started if ACC has completed
| | * BUG#9749 - ndb lock upgrade - more fixes...unknown2005-04-132-39/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Make getNoParall into function instead of a procedure 2) Check for multiple transactions in "upgrade's" parallell queue 3) Set lock mode according to lock_owner's lockMode NOTE: Does still not handle lock upgrade in case of aborts correctly ndb/src/kernel/blocks/dbacc/Dbacc.hpp: Make getNoParall into function instead of a procedure ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: 1) Make getNoParall into function instead of a procedure 2) Check for multiple transactions in "upgrade's" parallell queue 3) Set lock mode according to lock_owner's lockMode
| | * bug#9749 - ndb lock upgradeunknown2005-04-123-13/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handle more cases... ndb/src/kernel/blocks/dbacc/Dbacc.hpp: bug#9749 - ndb lock upgrade ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: bug#9749 - ndb lock upgrade ndb/test/ndbapi/testOperations.cpp: bug#9749 - ndb lock upgrade
* | | ndb - bug#10029 fixunknown2005-04-237-90/+205
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/include/kernel/signaldata/TuxMaint.hpp: handle multipl index update failure atomically ndb/src/kernel/blocks/dbtup/Dbtup.hpp: handle multipl index update failure atomically ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp: handle multipl index update failure atomically ndb/src/kernel/blocks/dbtup/Notes.txt: handle multipl index update failure atomically ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp: handle multipl index update failure atomically ndb/src/ndbapi/ndberror.c: handle multipl index update failure atomically ndb/test/ndbapi/testOIBasic.cpp: handle multipl index update failure atomically
* | Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-04-211-0/+4
|\ \ | | | | | | | | | | | | | | | | | | into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
| * | ndb - dbug aid for api signal logunknown2005-04-201-0/+4
| | | | | | | | | | | | | | | ndb/src/ndbapi/TransporterFacade.cpp: dbug aid for api signal log
* | | Removed forgotten abort() call, bug#10001unknown2005-04-201-1/+0
|/ / | | | | | | | | ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Removed forgotten abort() call
* | CSC5149 - ndb test programsunknown2005-04-191-2/+2
| | | | | | | | | | | | | | Fix src distributions for benchmark prg