1. 22 Jan, 2007 4 commits
    • unknown's avatar
      ndb - bug#25286 · c35f33e5
      unknown authored
        - add some sanity check to marker/hash code to see that element isnt inserted twice into hashtable
          (if defined VM_TRACE or ERROR_INSERT)
      
        - allow REMOVE_MARKER_ORD to fail(dont find record) in release
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        add a bunch of sanity check ifdef#vmtrace of #error_insert
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        add a bunch of sanity check ifdef#vmtrace of #error_insert
      c35f33e5
    • unknown's avatar
      ndb - bug#25755 · b743dcfc
      unknown authored
        remove accidently left debug prinouts
      
      b743dcfc
    • unknown's avatar
      ndb - bug#25755 · 81b25f7b
      unknown authored
        Make sure subscriber is removed from list when n_subscribers is decreased
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Make sure subscriber is removed from list when n_subscribers is decreased
      storage/ndb/src/kernel/blocks/suma/Suma.hpp:
        Make sure subscriber is removed from list when n_subscribers is decreased
      81b25f7b
    • unknown's avatar
      ndb - fix bug is NODE_VERSION_REP · 4b4850d7
      unknown authored
        Fix assertion in corner-case where signal isnt sent to any node
      
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix corner-case where signal isnt sent to any node
      4b4850d7
  2. 20 Jan, 2007 1 commit
    • unknown's avatar
      ndb - Fix bug when sending NODE_VERSION_REP · 2c745eca
      unknown authored
      
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Fix bug when sending NODE_VERSION_REP
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix bug when sending NODE_VERSION_REP
      2c745eca
  3. 19 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#19645 · d8628a73
      unknown authored
        fix some more sp100 hang cases
      
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        let suma know of API_FAILREQ even if not connected, to handle startme/handover 
          problem
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        some error inserts
        + resend API_FAILREQ during handover
      d8628a73
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 195bfbd3
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/ConfigValues.cpp:
        Auto merged
      195bfbd3
    • 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
  4. 17 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 25735d3e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/include/portlib/NdbMem.h:
        Auto merged
      storage/ndb/src/common/portlib/NdbMem.c:
        Auto merged
      storage/ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/Configuration.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        merge
      25735d3e
    • 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
  5. 16 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 64692863
      unknown authored
        additional fix after autotest
        dont send start_fragreq to temporary tables such as ordered indexes...
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        dont send START_FRAGREQ to temporary tables (such as ordered indexes)
      64692863
  6. 15 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 1f6e6b56
      unknown authored
        Fix DD problem during NR after 3 missed LCP's
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Send START_FRAGREQ also for fragments wo/ LCP
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        inform TUP that no LCP is restored (if no lcp is restored :-)
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        inform TUP that no LCP is restored (if no lcp is restored :-)
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        inform TUP that no LCP is restored (if no lcp is restored :-)
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Add error insert using dump
      1f6e6b56
  7. 12 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25587 · c823b6e5
      unknown authored
        fix not aligned or non 32-bit values in "smart" scan
      
      
      mysql-test/r/ndb_partition_key.result:
        testcase
      mysql-test/t/ndb_partition_key.test:
        ndb - bug
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Fix unaligned or non-32-bit values in "smart scan"
      c823b6e5
  8. 11 Jan, 2007 3 commits
    • unknown's avatar
      fix merge error · b2bb44a4
      unknown authored
      b2bb44a4
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 2f88b6a5
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      2f88b6a5
    • 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
  9. 10 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25468 · 9b9ac0f0
      unknown authored
        handle partially transfered LCP_FRAG_REP after node failure
        recommit to 51-work
      
      
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        handle partially transfered LCP_FRAG_REP after node failure
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        handle partially transfered LCP_FRAG_REP after node failure
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        testcase
      9b9ac0f0
  10. 04 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#25329 · bdb3e3e2
      unknown authored
        extra sledge hammer, (real 51)
        use dicklock to prevent SUB_START_REQ during node recovery
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        use dicklock to prevent SUB_START_REQ during node recovery
      bdb3e3e2
    • unknown's avatar
      ndb - recommit extra version info to real-51 · 34a72aaa
      unknown authored
      
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        add extra version info to main clone
      storage/ndb/include/kernel/NodeInfo.hpp:
        add extra version info to main clone
      storage/ndb/include/kernel/signaldata/ApiRegSignalData.hpp:
        add extra version info to main clone
      storage/ndb/include/ndb_version.h.in:
        add extra version info to main clone
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        add extra version info to main clone
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        add extra version info to main clone
      storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        add extra version info to main clone
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        add extra version info to main clone
      storage/ndb/src/kernel/vm/GlobalData.hpp:
        add extra version info to main clone
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        add extra version info to main clone
      34a72aaa
    • unknown's avatar
      ndb - bug#25329 · d8969887
      unknown authored
        Fix most obvious error in dict/suma error handling of events
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix most obvious error in dict/suma error handling of events
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Fix most obvious error in dict/suma error handling of events
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Fix most obvious error in dict/suma error handling of events
      storage/ndb/src/kernel/blocks/suma/SumaInit.cpp:
        Fix most obvious error in dict/suma error handling of events
      d8969887
  11. 03 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · ebeb1673
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        merge
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      ebeb1673
    • 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
  12. 15 Dec, 2006 5 commits
    • unknown's avatar
      merge fix · cb81b24b
      unknown authored
      cb81b24b
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · dffbe735
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      storage/ndb/src/ndbapi/Ndbif.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testIndex.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      storage/ndb/test/ndbapi/testBasic.cpp:
        merge
      dffbe735
    • 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
  13. 12 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24949 · 1402f9ad
      unknown authored
        make sure not too poll to long, in case of hb-failure of last db-node
      
      
      storage/ndb/src/ndbapi/Ndbif.cpp:
        Make sure not to poll too long
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Make sure not to poll too long
      1402f9ad
    • unknown's avatar
      ndb - bug#25001 · 79785fae
      unknown authored
        make sure DISK flag is set on DATA column for blob table
      
      
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        maek sure DISK flag is set on DATA column fro blob table
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        maek sure DISK flag is set on DATA column fro blob table
      79785fae
    • unknown's avatar
      ndb - style · dd2ca018
      unknown authored
        split assignment into 2 lines
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        remove bad assignment
      dd2ca018
  14. 11 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24664 · ee0bad0c
      unknown authored
        Fix in bug fix, make sure LCP_SKIP is only used for inserts...
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        Make sure LCP_SKIP is only used for inserts
      ee0bad0c
  15. 08 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24917 · 247fde18
      unknown authored
        
      
      
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Hande LCP= 0 specially
      247fde18
    • unknown's avatar
      ndb - bug#24914 · e663444b
      unknown authored
        Fix start transaction with hint from ndbapi
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix fragments array for API
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix fragments array for API
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Fix fragments array for API
      e663444b
    • unknown's avatar
      ndb - bug#21948 · b01e4ecd
      unknown authored
        Fix bug in previous changeset...causing SR problems with disk
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        fix some more strict-aliasing problems
      storage/ndb/src/kernel/blocks/tsman.cpp:
        Fix newly introduced bug
      b01e4ecd
  16. 07 Dec, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 5da1b6ca
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        Auto merged
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      5da1b6ca
    • unknown's avatar
      ndb - bug#21948 & bug#17605 · 642ff311
      unknown authored
        fix alloc/free extent in undo log
        allow extent to be reused once a lcp is finished (instead of when next lcp starts)
      
      
      storage/ndb/include/kernel/signaldata/Extent.hpp:
        Add lsn to alloc extent
      storage/ndb/src/kernel/blocks/diskpage.hpp:
        Add (unused) undo entries for drop table, and alloc/free extent
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Notify TSMAN of both start and stop of LCP
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        1) Add unused undo entries for drop table, alloc/free extent
        2) handle create_table better (correct?) in undo log
        3) fix some typos/style
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        1) Add unused undo entries for drop table, alloc/free extent
        2) handle create_table better (correct?) in undo log
        3) fix some typos/style
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        fix style
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        fix typo/style
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Make sure regFragPtr.p->m_logfile_group_id = RNIL is applicable
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Add m_logfile_group_id to log callback
      storage/ndb/src/kernel/blocks/print_file.cpp:
        Add (unused) undo entries for drop table, and alloc/free extent
      storage/ndb/src/kernel/blocks/tsman.cpp:
        1) change so that LCP limit on resuse of extent is only for duration of lcp
        2) refactor so lookup_extent is put into subroutine
      storage/ndb/src/kernel/blocks/tsman.hpp:
        refactor so lookup_extent is put into subroutine
      642ff311
  17. 06 Dec, 2006 4 commits
    • unknown's avatar
      ndb - add support for periodic mem-reporting · 9648c0d1
      unknown authored
      
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        Add new config paramemter
      storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        add support for periodic mem-reporting
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        add support for periodic mem-reporting
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        add support for periodic mem-reporting
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        add support for periodic mem-reporting
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        add support for periodic mem-reporting
      9648c0d1
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 52c42890
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      52c42890
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 756752f1
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      756752f1
    • 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