1. 07 Dec, 2006 1 commit
    • 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
  2. 06 Dec, 2006 3 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/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
  3. 05 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24664 · b40f5b0a
      unknown authored
        1) run lcp snapshot for both MM and DD tables (so I dont have to change restore to use WRITE)
        2) fix >= and > bug in lcp skip/keep handling
        3) very cool test prog for this :-)
      
      
      storage/ndb/include/kernel/signaldata/BackupContinueB.hpp:
        Add new error insert
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error insert
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Add new error insert
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        1) get >= and > correct for lcp keep/skip
        2) always run lcp snapshot impl. (previously only for dd tables)
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        1) get >= and > correct for lcp keep/skip
        2) always run lcp snapshot impl. (previously only for dd tables)
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        add testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      b40f5b0a
  4. 04 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24166 · 5a7b137d
      unknown authored
        SR crash if table with disk with hidden primary key...
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        fix bug 24166
      5a7b137d
  5. 01 Dec, 2006 13 commits
    • unknown's avatar
      ndb - bug#24655 · 94b35be5
      unknown authored
        Handle events "differently" so that dict doesnt get lock too often
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Handle event separatly as they dont set block_state :-(
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Handle event separatly as they dont set block_state :-(
      storage/ndb/src/kernel/vm/KeyTable2.hpp:
        Handle event separatly as they dont set block_state :-(
      94b35be5
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 2330c5c0
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      2330c5c0
    • 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
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 01a0bec2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      01a0bec2
    • 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 - bug#24717 · ca99e7f5
      unknown authored
        fixes to testprogram to test new impl. in 5.1
      
      
      storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        move tsman dumps
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        add more support for connection handling using dumps
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        port testprogram to 5.1 to avoid "extra" safety net in LQH
      ca99e7f5
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 51df41d1
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      51df41d1
    • unknown's avatar
      ndb - · 6a446ee5
      unknown authored
        fix merge error
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        fix merge error
      6a446ee5
    • 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 · 86616d62
      unknown authored
        5.1 version
        remove 5.0 version
        add general routing signal
        send tckeyref routed if needed...
      
      
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        Add general routing signal
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        Add general routing signal
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        send TCKEYREF routed if needed
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        add general routing 
        remove node started state
      storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        add general routing 
        remove node started state
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        add general routing 
        remove node started state
        remove "avoid sending committed read to early" as it now should be handled correctly
      storage/ndb/include/kernel/signaldata/RouteOrd.hpp:
        New BitKeeper file ``storage/ndb/include/kernel/signaldata/RouteOrd.hpp''
      86616d62
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 206b2514
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/NdbSqlUtil.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        merge
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        merge
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        merge
      storage/ndb/src/ndbapi/ndberror.c:
        merge
      206b2514
    • 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
    • unknown's avatar
      ndb - bug#24476 · d193af54
      unknown authored
        Fix typo that yeilded rare crash in ACC
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        fix typo, where elementptr was sent as elementheader
        yeilded very rare crashes as only 1 bit is checked
          and it's only checked under certatin rare circumstances
      d193af54
  6. 29 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24105 · bd8f324e
      unknown authored
        Handle not started nodes correctly (for X restart)
        i.e dont wait for NF_COMPLETEREP
            but settle with NODEFAIL_REP
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Handle not started nodes correctly
        i.e dont wait for NF_COMPLETEREP
            but settle with NODEFAIL_REP
      bd8f324e
  7. 28 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24544 · 2eee9638
      unknown authored
        fix so backup message is printed even in case of "ndb_mgm -e"
      
      
      storage/ndb/src/common/debugger/signaldata/BackupSignalData.cpp:
        fix backup printer
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Fix so that backup message is printed even if "ndb_mgm -e"
      storage/ndb/src/ndbapi/SignalSender.cpp:
        move method into TransporterFacade to enable API_TRACE
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        move method into TransporterFacade to enable API_TRACE
      2eee9638
  8. 23 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24543 · 286b4b24
      unknown authored
        Resend if master dies during alloc node id
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error code
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Add new error code
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Make sure to resend if master died
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      286b4b24
  9. 22 Nov, 2006 6 commits
    • unknown's avatar
      ndb - bug#24503 · 5a1f401f
      unknown authored
        remove debug printouts
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        remove debug printouts
      5a1f401f
    • unknown's avatar
      ndb - bug#24503 · 92678f27
      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
      92678f27
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 5eacdd18
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      5eacdd18
    • unknown's avatar
      ndb - bug#24461 · 3412b644
      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
      3412b644
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · fbf4bae9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      fbf4bae9
    • unknown's avatar
      ndb - bug#24461 - LockPagesInMemory ignored · d94d1f94
      unknown authored
        actually do run mlockall
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        actually do run mlockall
      d94d1f94
  10. 21 Nov, 2006 8 commits
    • unknown's avatar
      ndb - no bugs number · 9108d3bd
      unknown authored
        1) Make sure not to read uninitialized data in unique index code
            harmless (atleast before dynattr)
        2) Dont update p_latest_trans_gci
            for dirty unique index lookup
        
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Make sure not to read uninitialized data in unique index code
          harmless (atleast before dynattr)
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Dont update p_latest_trans_gci
          for dirty unique index lookup
      9108d3bd
    • unknown's avatar
      ndb - bug#24331 · 2e14b58a
      unknown authored
        Make sure LCP scan record is correct initialized
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Init ScanOp
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        And set correct pointers...
      2e14b58a
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · b52a1722
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      storage/ndb/test/ndbapi/testScan.cpp:
        merge
      b52a1722
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 4983c584
      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
      4983c584
    • unknown's avatar
      ndb - · 13c1723c
      unknown authored
        update error code list
        (for bug#24447)
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        ndb -
          update error code list
      13c1723c
    • unknown's avatar
      ndb - bug#24447 · 537f7c10
      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
      537f7c10
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 27fac7ba
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/socket_io.cpp:
        Auto merged
      storage/ndb/src/common/util/InputStream.cpp:
        merge
      27fac7ba
    • unknown's avatar
      ndb - · 22d36db2
      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
      22d36db2
  11. 07 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24039 · 151cb7c2
      unknown authored
        Make sure index scan does not commitDelete
      
      
      mysql-test/r/ndb_index_ordered.result:
        testcase
      mysql-test/t/ndb_index_ordered.test:
        testcase
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Make sure index scan does not commitDelete
      151cb7c2
  12. 06 Nov, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 02e63d35
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      storage/ndb/src/common/util/socket_io.cpp:
        merge
      02e63d35
    • unknown's avatar
      ndb - bug#24011 · 7d69a352
      unknown authored
        
      
      
      ndb/src/common/util/socket_io.cpp:
        Fix problem with cut sockmessages
      7d69a352
  13. 27 Oct, 2006 1 commit