1. 22 Jan, 2007 4 commits
    • unknown's avatar
      ndb - bug#25286 · 997f6350
      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
      997f6350
    • unknown's avatar
      ndb - bug#25755 · 734a3036
      unknown authored
        remove accidently left debug prinouts
      
      
      734a3036
    • unknown's avatar
      ndb - bug#25755 · d6ef8dd0
      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
      d6ef8dd0
    • unknown's avatar
      ndb - fix bug is NODE_VERSION_REP · 448edca9
      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
      448edca9
  2. 20 Jan, 2007 1 commit
    • unknown's avatar
      ndb - Fix bug when sending NODE_VERSION_REP · b6c7fb39
      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
      b6c7fb39
  3. 19 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#19645 · 4e055f3f
      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
      4e055f3f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 6d7c9d86
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/ConfigValues.cpp:
        Auto merged
      6d7c9d86
    • 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
  4. 17 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 7b184fa9
      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
      7b184fa9
    • 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
  5. 16 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 1508bd49
      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)
      1508bd49
  6. 15 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 9ec05de3
      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
      9ec05de3
  7. 12 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25587 · 6226586c
      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"
      6226586c
  8. 11 Jan, 2007 3 commits
    • unknown's avatar
      fix merge error · 79899496
      unknown authored
      79899496
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · d84d59b7
      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
      d84d59b7
    • 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
  9. 10 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25468 · e5eee3fa
      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
      e5eee3fa
  10. 04 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#25329 · f0b50825
      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
      f0b50825
    • unknown's avatar
      ndb - recommit extra version info to real-51 · db007003
      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
      db007003
    • unknown's avatar
      ndb - bug#25329 · 3f8ab08b
      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
      3f8ab08b
  11. 03 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 61fd9c3b
      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
      61fd9c3b
    • 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
  12. 15 Dec, 2006 5 commits
    • unknown's avatar
      merge fix · c632e93e
      unknown authored
      c632e93e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · c5301c5a
      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
      c5301c5a
    • 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
  13. 12 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24949 · f62bab22
      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
      f62bab22
    • unknown's avatar
      ndb - bug#25001 · 5a6e23bc
      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
      5a6e23bc
    • unknown's avatar
      ndb - style · bbb25676
      unknown authored
        split assignment into 2 lines
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        remove bad assignment
      bbb25676
  14. 11 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24664 · 231483d9
      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
      231483d9
  15. 08 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24917 · 0372d3b0
      unknown authored
        
      
      
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Hande LCP= 0 specially
      0372d3b0
    • unknown's avatar
      ndb - bug#24914 · eff21a02
      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
      eff21a02
    • unknown's avatar
      ndb - bug#21948 · 3806777d
      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
      3806777d
  16. 07 Dec, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · dcc08d2d
      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
      dcc08d2d
    • unknown's avatar
      ndb - bug#21948 & bug#17605 · 1121ca8f
      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
      1121ca8f
  17. 06 Dec, 2006 4 commits
    • unknown's avatar
      ndb - add support for periodic mem-reporting · ca967328
      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
      ca967328
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 3ef5e410
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      3ef5e410
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 11964cdf
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      11964cdf
    • 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