1. 25 Oct, 2007 1 commit
    • unknown's avatar
      BUG#31761: Code for cluster is not safe for strict-alias optimization in new gcc · 07865679
      unknown authored
      Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
      
      Using the same object as both Uint32 and class AttributeHeader violates
      strict aliasing rule.
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      07865679
  2. 04 Jul, 2007 1 commit
  3. 03 Jul, 2007 1 commit
    • unknown's avatar
      ndb - bug#29354 - Incorrect handling of replica REDO during SR (5.0) · d55ca617
      unknown authored
        Not very clever fix for DIH incorrect REDO handling
        - Dont report GCP_SAVE_CONF until first LCP has been complete during NR
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Not very clever fix for DIH incorrect REDO handling
          - Dont report GCP_SAVE_CONF until first LCP has been complete during NR
      d55ca617
  4. 02 Jul, 2007 1 commit
    • unknown's avatar
      ndb - bug#29364 - "SQL queries hang while data node in start phase 5" · f83a63ad
      unknown authored
        In TC init node status for already started nodes during node restart
        (not present in 5.1)
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        on node restart, make sure to init all already started nodes to NF_STARTED
      ndb/test/ndbapi/testNodeRestart.cpp:
        test prg
      ndb/test/run-test/daily-basic-tests.txt:
        test prg
      f83a63ad
  5. 25 Jun, 2007 1 commit
    • unknown's avatar
      ndb - bug#29057 bug#29067 and bug#29118 · f86ecc03
      unknown authored
        Fix 3 problems in REDO validation that could(will) lead to "Error while reading REDO log"
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        add new state
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        fix bugs + add debugging
      f86ecc03
  6. 29 May, 2007 2 commits
  7. 18 May, 2007 6 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · be77fa28
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      be77fa28
    • unknown's avatar
      ndb - bug#28443 · deba58ee
      unknown authored
        review comment 2, atleast 1 signal need for test prg
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        review comment, atleast 1 signal need
      deba58ee
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · d1625447
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      d1625447
    • unknown's avatar
      ndb - bug#28443 · a5731933
      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
      a5731933
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 051c96f2
      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
      051c96f2
    • unknown's avatar
      ndb - bug#28443 · 9bfed519
      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
      9bfed519
  8. 08 May, 2007 2 commits
    • unknown's avatar
      ndb - bug#27437 · c02934a5
      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
      c02934a5
    • unknown's avatar
      ndb - bug#27437 · 3962e2d4
      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
      3962e2d4
  9. 11 Apr, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 16f8fa13
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        Auto merged
      16f8fa13
    • unknown's avatar
      ndb - bug#27748 · a908db7b
      unknown authored
        fix commit trigger on multi-update
      
      
      ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        fix commit trigger on multi-update
      a908db7b
  10. 02 Apr, 2007 2 commits
    • unknown's avatar
      ndb - bug#27581 · d71a221d
      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
      d71a221d
    • unknown's avatar
      ndb - fix bug in my.cnf config handling · b84e64f7
      unknown authored
        put64 for 64-bit variables
      
      
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        put64
      b84e64f7
  11. 22 Mar, 2007 1 commit
    • unknown's avatar
      ndb - · 4dee1e6a
      unknown authored
        fix test prg
      
      
      ndb/test/ndbapi/testNodeRestart.cpp:
        fix test prg
      4dee1e6a
  12. 21 Mar, 2007 2 commits
    • unknown's avatar
      ndb - bug#27283 · f5acedb6
      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
      f5acedb6
    • unknown's avatar
      ndb - bug#27286 (5.0 version) · 34a9dd6a
      unknown authored
        make sure master is sendable
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        make sure master is sendable
      34a9dd6a
  13. 20 Mar, 2007 2 commits
    • unknown's avatar
      ndb - bug#27283 (wl2325-5.0) · 26afc93a
      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
      26afc93a
    • unknown's avatar
      ndb - bug#27291 · 54edcb18
      unknown authored
        Fix correct min-value for LockPagesInMemory
      
      
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Fix correct min-value
      54edcb18
  14. 15 Mar, 2007 1 commit
  15. 13 Mar, 2007 1 commit
    • unknown's avatar
      ndb - bug#27003 · a6094108
      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
      a6094108
  16. 22 Feb, 2007 1 commit
  17. 21 Feb, 2007 2 commits
    • unknown's avatar
      ndb - · 40bfc4c0
      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
      40bfc4c0
    • unknown's avatar
      ndb - bug#26515 · a62c32bd
      unknown authored
        make sure logPartPtr is correctly initialized
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        fix bug#26515
          make sure logPartPtr is correctly initialized
      a62c32bd
  18. 19 Feb, 2007 4 commits
    • unknown's avatar
      fix compile error in testBitfield · 65e7108f
      unknown authored
      65e7108f
    • unknown's avatar
      ndb - fix correct argv/argc handling in testBitfield · 2afacafb
      unknown authored
      
      ndb/test/ndbapi/testBitfield.cpp:
        fix correct argv/argc handling in testBitfield
      2afacafb
    • unknown's avatar
      ndb - · 2f58470f
      unknown authored
        forgott to add testcase for bug#26481
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        forgott to add testcase for bug#26481
      2f58470f
    • 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
  19. 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
  20. 16 Feb, 2007 2 commits
  21. 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
  22. 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
  23. 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
  24. 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