1. 18 May, 2007 4 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ccc0cc0e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      ccc0cc0e
    • unknown's avatar
      ndb - bug#28443 · 28a8a08f
      unknown authored
        review comment
        if some tcp-transporter has data, then do select with timeout 0
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        review comment
        if some tcp-transporter has data, then do select with timeout 0
      28a8a08f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 55a9a9dd
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/common/transporter/Packer.cpp:
        Auto merged
      ndb/src/common/transporter/TCP_Transporter.hpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      ndb/src/common/transporter/TransporterRegistry.cpp:
        merge
      ndb/test/ndbapi/testNdbApi.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      55a9a9dd
    • unknown's avatar
      ndb - bug#28443 · b7a609a6
      unknown authored
        Make sure that data can not e left lingering in receive buffer
      
      
      ndb/src/common/transporter/Packer.cpp:
        test, make MAX_RECEIVED_SIGNALS an variable
      ndb/src/common/transporter/TCP_Transporter.hpp:
        add new method for checking of data in receive buffer
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Make sure that 
        1) poll_TCP return true if any transporter has data in receiveBuffer
           (previously only if socket had data)
        2) performReceive executes signals if TCP transporter has data in receiveBuffer
           (previously only if data was recevied)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        test, make MAX_RECEIVED_SIGNALS an variable
      ndb/test/ndbapi/testNdbApi.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      b7a609a6
  2. 08 May, 2007 2 commits
    • unknown's avatar
      ndb - bug#27437 · d324b9ce
      unknown authored
        redo extra verification code so that tupkeyref is reset just before tupkeyreq
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        redo extra verification code so that tupkeyref is reset just before tupkeyreq
      d324b9ce
    • unknown's avatar
      ndb - bug#27437 · fa0b9a2b
      unknown authored
        bug in interpretedupdate (used for auto-increment) that made TUPKEYREF be sent twice
        this was however "normally" shadowed, but made LQH crash when LCP was about to start
      
      
      mysql-test/r/ndb_basic.result:
        testcase
      mysql-test/t/ndb_basic.test:
        testcase
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        add extra variable to make sure TUPKEYREF is not received twice (VM_TRACE)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        add extra variable to make sure TUPKEYREF is not received twice (VM_TRACE)
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        make sure TUPKEYREF is not sent twice in case of "error" in interpreted program
      fa0b9a2b
  3. 11 Apr, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · b313ae3b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        Auto merged
      b313ae3b
    • unknown's avatar
      ndb - bug#27748 · 5ecdd6db
      unknown authored
        fix commit trigger on multi-update
      
      
      ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        fix commit trigger on multi-update
      5ecdd6db
  4. 02 Apr, 2007 2 commits
    • unknown's avatar
      ndb - bug#27581 · b6d5de04
      unknown authored
        make sure not to leave partially initialized pagerage-records
      
      
      ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
        make sure not to leave partially initialized pagerage-records
      b6d5de04
    • unknown's avatar
      ndb - fix bug in my.cnf config handling · c49cc3b7
      unknown authored
        put64 for 64-bit variables
      
      
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        put64
      c49cc3b7
  5. 22 Mar, 2007 1 commit
    • unknown's avatar
      ndb - · 3ad18a30
      unknown authored
        fix test prg
      
      
      ndb/test/ndbapi/testNodeRestart.cpp:
        fix test prg
      3ad18a30
  6. 21 Mar, 2007 2 commits
    • unknown's avatar
      ndb - bug#27283 · 897a01fa
      unknown authored
          Additional fix for 2-node case
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Add error insert ref for errcode = 7181
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make GSN_GCP_NODEFINISH always be sent to DIH node requesting it
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Make GSN_GCP_NODEFINISH always be sent to DIH node requesting it
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Make GSN_GCP_NODEFINISH always be sent to DIH node requesting it
      897a01fa
    • unknown's avatar
      ndb - bug#27286 (5.0 version) · c1be1e4d
      unknown authored
        make sure master is sendable
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        make sure master is sendable
      c1be1e4d
  7. 20 Mar, 2007 2 commits
    • unknown's avatar
      ndb - bug#27283 (wl2325-5.0) · 51c28fe1
      unknown authored
          Handle race condtition between MASTER_GCPCONF and execGCP_NODEFINISH
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error codes
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Handle race condtition between MASTER_GCPCONF and execGCP_NODEFINISH
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      51c28fe1
    • unknown's avatar
      ndb - bug#27291 · 8f5cf0f1
      unknown authored
        Fix correct min-value for LockPagesInMemory
      
      
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Fix correct min-value
      8f5cf0f1
  8. 15 Mar, 2007 1 commit
  9. 13 Mar, 2007 1 commit
    • unknown's avatar
      ndb - bug#27003 · 1b173331
      unknown authored
        Handle random(not in order) LQHKEYREQ failures during node-restart
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Document new error codes
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Handle random(not in order) LQHKEYREQ failures during node-restart
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Error codes for various oom problems
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        move CLEAR_ERROR_INSERT_VALUE to constructor so that it's reasonable to use it for
        restart testing
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Add error insert for CopyFragRef
      ndb/test/ndbapi/testNodeRestart.cpp:
        Testprg for bug#27003
      ndb/test/run-test/daily-basic-tests.txt:
        add testprg
      1b173331
  10. 22 Feb, 2007 1 commit
  11. 21 Feb, 2007 2 commits
    • unknown's avatar
      ndb - · 4d40d6ee
      unknown authored
        Make StartREDO come up as default in cluster log
      
      
      ndb/src/common/debugger/EventLogger.cpp:
        Make StartREDO come up as default in cluster log
      4d40d6ee
    • unknown's avatar
      ndb - bug#26515 · 56d1c853
      unknown authored
        make sure logPartPtr is correctly initialized
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        fix bug#26515
          make sure logPartPtr is correctly initialized
      56d1c853
  12. 19 Feb, 2007 4 commits
    • unknown's avatar
      fix compile error in testBitfield · ff337cb4
      unknown authored
      ff337cb4
    • unknown's avatar
      ndb - fix correct argv/argc handling in testBitfield · ca315ba1
      unknown authored
      
      ndb/test/ndbapi/testBitfield.cpp:
        fix correct argv/argc handling in testBitfield
      ca315ba1
    • unknown's avatar
      ndb - · 8f1ba667
      unknown authored
        forgott to add testcase for bug#26481
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        forgott to add testcase for bug#26481
      8f1ba667
    • unknown's avatar
      ndb - bug#26481 · de8f751c
      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
      de8f751c
  13. 17 Feb, 2007 1 commit
    • unknown's avatar
      ndb - bug#26457 · 7223be24
      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)
      7223be24
  14. 16 Feb, 2007 2 commits
  15. 19 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25711 · af65dcaf
      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)
      af65dcaf
  16. 17 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25686 · ba39789b
      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
      ba39789b
  17. 11 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25554 · ab07c477
      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
      ab07c477
  18. 03 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25364 · 162a2e41
      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
      162a2e41
  19. 15 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#25059 · 2e39b557
      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
      2e39b557
    • unknown's avatar
      ndb - bug#25090 · 835a0ff6
      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
      835a0ff6
    • unknown's avatar
      ndb - bug#25090 · bb0a8229
      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
      bb0a8229
  20. 06 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#22773 · ab640c4f
      unknown authored
        Fix correct log event on db-node disconnect
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Fix typo
      ab640c4f
  21. 01 Dec, 2006 4 commits
    • unknown's avatar
      ndb - bug#24752 · 6dc8ad60
      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
      6dc8ad60
    • unknown's avatar
      ndb - bug#24748 · 8c8e27ba
      unknown authored
        Skip rollback if only committedRead in transaction
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Skip rollback if only committedRead in transaction
      8c8e27ba
    • unknown's avatar
      ndb - · 4723c479
      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
      4723c479
    • unknown's avatar
      ndb - bug#24717 · c4565431
      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
      c4565431
  22. 22 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24503 · 5a1f401f
      unknown authored
        remove debug printouts
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        remove debug printouts
      5a1f401f