1. 19 Feb, 2007 1 commit
    • unknown's avatar
      ndb - bug#26481 · 85fdd106
      unknown authored
        fix for killed node during initial node restart
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Check cstartRecReq also when refusing GCP_SAVEREQ
      ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase
      85fdd106
  2. 17 Feb, 2007 1 commit
    • unknown's avatar
      ndb - bug#26457 · 778b4aad
      unknown authored
        master failure during master take over
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure to clear NF_XX_LCP if master fails during master take-over
      ndb/test/include/NdbRestarter.hpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      ndb/test/src/NdbRestarter.cpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      778b4aad
  3. 16 Feb, 2007 2 commits
  4. 19 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25711 · 3c09c1c3
      unknown authored
        fix cpu peak in big clusters during unpack of config
      
      
      ndb/src/common/util/ConfigValues.cpp:
        use bin-search instead of hash (as keys collide too much)
      3c09c1c3
  5. 17 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25686 · fed5cb6a
      unknown authored
        add support for doing mlockall before mallc instead of after
        (recommit in 5.0)
      
      
      ndb/include/portlib/NdbMem.h:
        add support for doing mlockall before mallc instead of after
      ndb/src/common/portlib/NdbMem.c:
        add support for doing mlockall before mallc instead of after
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        add support for doing mlockall before mallc instead of after
      ndb/src/kernel/vm/Configuration.cpp:
        add support for doing mlockall before mallc instead of after
      ndb/src/kernel/vm/Configuration.hpp:
        add support for doing mlockall before mallc instead of after
      ndb/src/mgmsrv/ConfigInfo.cpp:
        add support for doing mlockall before mallc instead of after
      fed5cb6a
  6. 11 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25554 · 45b1bdb1
      unknown authored
        fix bug when master failure during nr
        (recommit against 5.0)
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        recommit against 5.0
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        recommit against 5.0
      ndb/test/ndbapi/testNodeRestart.cpp:
        recommit against 5.0
      ndb/test/run-test/daily-basic-tests.txt:
        recommit against 5.0
      45b1bdb1
  7. 03 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25364 · 7a787690
      unknown authored
        on master node failure during qmgr-commitreq
          make sure to remove all committed failed nodes from failed/prepfailed arrays
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        new error code
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        extra error insert variable
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        make sure to remove all committed failed nodes from failed/prepfailed arrays
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      7a787690
  8. 15 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#25059 · 9a79c0dc
      unknown authored
        incorrect handling of commit/ignore error in unique index code
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) handle potential ptr error
        2) remove incorrect commit-handling in uk code
      ndb/src/ndbapi/NdbTransaction.cpp:
        1) force 4012
        2) handle AO_IgnoreError in uk code
      ndb/src/ndbapi/Ndbif.cpp:
        force 4012
      ndb/test/ndbapi/testIndex.cpp:
        test program for 25059
      ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      9a79c0dc
    • unknown's avatar
      ndb - bug#25090 · 04ce9e4b
      unknown authored
        add testcase
      
      
      ndb/test/ndbapi/testBasic.cpp:
        add testcase for bug#25090
      ndb/test/run-test/daily-basic-tests.txt:
        add testcase for bug#25090
      04ce9e4b
    • unknown's avatar
      ndb - bug#25090 · 52fad145
      unknown authored
        make sure apicon timer is reset when setting CS_CONNECTED
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        make sure apicon timer is reset when setting CS_CONNECTED
      52fad145
  9. 06 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#22773 · 464b4a2a
      unknown authored
        Fix correct log event on db-node disconnect
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Fix typo
      464b4a2a
  10. 01 Dec, 2006 4 commits
    • unknown's avatar
      ndb - bug#24752 · f8c69117
      unknown authored
        This prevent any subsequent node restarts, but it's better than crashing an alive node
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix for bug#24752
        This prevent any subsequent node restarts, but it's better than crashing an alive node
      f8c69117
    • unknown's avatar
      ndb - bug#24748 · a29f5276
      unknown authored
        Skip rollback if only committedRead in transaction
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Skip rollback if only committedRead in transaction
      a29f5276
    • unknown's avatar
      ndb - · 61c5b80e
      unknown authored
        add testcase for bug#24717
       + fix typo
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Add new error insert 9002
          which is 9000, but will auto enable when started
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        Add new error insert 9002
          which is 9000, but will auto enable when started
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Fix typo
      ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase for bug#24717
      ndb/test/run-test/daily-basic-tests.txt:
        add testcase for bug#24717
      61c5b80e
    • unknown's avatar
      ndb - bug#24717 · cc00d542
      unknown authored
        5.0 version
        Add some extra state to try to prevent sending committedread to node too early
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Add retry mechanism to send TCKEYREF
          (as extra safety)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Add retry mechanism to send TCKEYREF
          (as extra safety)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/vm/SimulatedBlock.hpp:
        remove extra virtual-indirection
      cc00d542
  11. 22 Nov, 2006 6 commits
    • unknown's avatar
      ndb - bug#24503 · 9c7361e6
      unknown authored
        remove debug printouts
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        remove debug printouts
      9c7361e6
    • unknown's avatar
      ndb - bug#24503 · 1ca32bbc
      unknown authored
        Fix scan filter on bit types
        (note should probably be enabled in condition pushdown aswell)
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        Add support for comparing bit types
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add new error code
      ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        Add new error code
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Add correct handling of unsupported type
      ndb/src/ndbapi/ndberror.c:
        Add new error code
      1ca32bbc
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · bb4c84e6
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      bb4c84e6
    • unknown's avatar
      ndb - bug#24461 · 55640f60
      unknown authored
      m  ove mlock to much earlier in startphases
        not to affect heartbeats
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        move mlock to much earlier in startphases
          not to affect heartbeats
      55640f60
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · acd36295
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      acd36295
    • unknown's avatar
      ndb - bug#24461 - LockPagesInMemory ignored · 9e9f5fc2
      unknown authored
        actually do run mlockall
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        actually do run mlockall
      9e9f5fc2
  12. 21 Nov, 2006 4 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 9759d3c9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/test/ndbapi/testScan.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      9759d3c9
    • unknown's avatar
      ndb - · c893cb4f
      unknown authored
        update error code list
        (for bug#24447)
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        ndb -
          update error code list
      c893cb4f
    • unknown's avatar
      ndb - bug#24447 · 99d39263
      unknown authored
        api disconnect just after SCAN_TABREQ
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) add error insert for faking DISCONNECT of API just after SCAN_TABREQ
        2) handle error :-)
      ndb/test/ndbapi/testScan.cpp:
        Add etstcase for bug 24447
      ndb/test/run-test/daily-basic-tests.txt:
        Add etstcase for bug 24447
      99d39263
    • unknown's avatar
      ndb - · 01797892
      unknown authored
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      
      
      ndb/src/common/util/InputStream.cpp:
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      ndb/src/common/util/socket_io.cpp:
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      01797892
  13. 06 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24011 · 1ef8fe5a
      unknown authored
        
      
      
      ndb/src/common/util/socket_io.cpp:
        Fix problem with cut sockmessages
      1ef8fe5a
  14. 27 Oct, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ba583978
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      ba583978
    • unknown's avatar
      ndb - valgrind · 11ac4907
      unknown authored
        Still leakage, make sure all unlinked operations are put back so they will be release
        (on failing blob operations, when AO_IgnoreError)
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        Still leakage, make sure all unlinked operations are put back so they will be release
      11ac4907
  15. 20 Oct, 2006 6 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 65f50416
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/include/kernel/ndb_limits.h:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        SCCS merged
      65f50416
    • unknown's avatar
      ndb - bug#23499 and bug#23502 · 9070859e
      unknown authored
        Fix some too small buffers in backup
        
      
      
      ndb/include/kernel/ndb_limits.h:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Make sure to set maxInsert so that we actually can handle NO_OF_META_PAGES
      ndb/src/kernel/blocks/backup/Backup.hpp:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      9070859e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c54295f7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      c54295f7
    • unknown's avatar
      ndb - · b81cc9c3
      unknown authored
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      b81cc9c3
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 8af99710
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      8af99710
    • unknown's avatar
      ndb - · 608e9207
      unknown authored
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      608e9207
  16. 19 Oct, 2006 2 commits
    • unknown's avatar
      ndb - bug#23200 · d262020f
      unknown authored
        this changes lock taken during peek, to decrease likelyhood of transaction abort
        
      
      
      sql/ha_ndbcluster.cc:
        use exclusive lock in peek, as peek is used just before insert/update
      d262020f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · eb1d1202
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      eb1d1202
  17. 18 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#23200 · 1028185a
      unknown authored
        Make sure postExecute is not run for blobs if AO_IgnoreError
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        If AO_IgnoreError, error codes arent always set on individual operations, making postExecute impossible
      1028185a
  18. 13 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#23203 · a4a651e1
      unknown authored
        1) Handle not started nodes in dump 1000 (check for division by 0)
        2) Make sure to init variables in constructor
      
      
      ndb/src/common/debugger/EventLogger.cpp:
        Handle not started nodes
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        Init variables in constructor
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Handle not started nodes
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Init variables in constructor
        Handle not started nodes
      a4a651e1
  19. 12 Oct, 2006 1 commit
    • unknown's avatar
      ndb - missing if for bug#21941 · 2acf07aa
      unknown authored
        note this does not happen in 5.0, but i'm committing it here to keep code same between 5.0 and 5.1
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        missing if for bug#21941
      2acf07aa