1. 10 Apr, 2007 3 commits
    • unknown's avatar
      ndb - · 05285a62
      unknown authored
        add event log listener test tool
      
      
      storage/ndb/test/tools/Makefile.am:
        add event log listener test tool
      storage/ndb/test/tools/log_listner.cpp:
        New BitKeeper file ``storage/ndb/test/tools/log_listner.cpp''
      05285a62
    • unknown's avatar
      ndb - bug#27651 (5.1) · 01a007a5
      unknown authored
        Only prepare "next" GCI if we're in the first 4 highest GCI's
          to avoid we can get several buckets with same GCI
      
      
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Only prepare "next" GCI if we're in the first 4 highest GCI's
              to avoid we can get several buckets with same GCI
      01a007a5
    • unknown's avatar
      ndb - bug#27728 (5.1) · eaff83cb
      unknown authored
        Make sure API is connected to nodes when subscribing
      
      
      storage/ndb/include/kernel/signaldata/SumaImpl.hpp:
        new error code
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        make sure API is connected in SUB_START_REQ
      storage/ndb/src/ndbapi/ndberror.c:
        new error code
      eaff83cb
  2. 02 Apr, 2007 3 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 2c9c4508
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      2c9c4508
    • 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
  3. 27 Mar, 2007 3 commits
    • unknown's avatar
      ndb - · 59ce334d
      unknown authored
        reformat code a bit to be more compiler friendly
      
      
      storage/ndb/test/src/NdbRestarts.cpp:
        more verbosity
      59ce334d
    • unknown's avatar
      ndb - · 2d0fe692
      unknown authored
        remove compiler warning from last changeset
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove compiler warning from last changeset
      2d0fe692
    • unknown's avatar
      ndb - bug#27466 nf during nr can leave cluster in inconsistent state (recommit in 5.1) · 6da1cec0
      unknown authored
          Fix race condition between NODE_FAILREP and local INCL_NODEREQ loop
          Also retry on ZNODE_START_DISALLOWED_ERROR
      
      
      
      storage/ndb/include/kernel/signaldata/StartPerm.hpp:
        Move error code
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Move error code
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
            1) retry also on ZNODE_START_DISALLOWED_ERROR
            2) Change if() else in INCL_NODECONF to for-loop instead
            3) (last but not least) fix bug, that could cause different block withing same node to have different opinion about node status
               solution is to check if node is still alive before sening next local INCL_NODEREQ
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
            Add error insert to allow node to die during INCL_NODEREQ
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
            1) let suma be well behaved (i.e reply to INCL_NODEREQ)
            2) Add dump to print c_connceted_nodes/c_subscriber_nodes (8010)
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        new testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        new testcase
      6da1cec0
  4. 22 Mar, 2007 3 commits
  5. 21 Mar, 2007 5 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · b278b210
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      b278b210
    • 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
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · fa30eca6
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      fa30eca6
    • 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
    • unknown's avatar
      ndb - bug#27286 · 55400a00
      unknown authored
        make sure master node is sendable, when getting ref::NotMaster 
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        make sure master node is sendable, when getting ref::NotMaster
      55400a00
  6. 20 Mar, 2007 3 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · d0942af8
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      d0942af8
    • 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
  7. 19 Mar, 2007 3 commits
    • unknown's avatar
      ndb - test_event · 7856482c
      unknown authored
        Fix compile error with gcc4
      
      
      storage/ndb/test/ndbapi/test_event.cpp:
        Fix compile error with gcc4
      7856482c
    • unknown's avatar
      ndb - bug#20185 · 75bd09a6
      unknown authored
        Fix race in testprg...causing random TC crashes
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        remove incorrect work-around
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        Fix race in testprg...causing random TC crashes
      75bd09a6
    • unknown's avatar
      ndb - autotest · fbb955d7
      unknown authored
       increase some timeouts...
      
      
      storage/ndb/test/run-test/daily-devel-tests.txt:
        increase timeouts...
      fbb955d7
  8. 16 Mar, 2007 1 commit
    • unknown's avatar
      ndb - bug#27203 · 5df4ea9a
      unknown authored
        Allow readTablePk to stumble on scan+deleted tuple,
            reporting no-match instead of crash (in case scan is lock-owner)
      
      
      storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Allow readTablePk to stumble on scan+deleted tuple,
          reporting no-match instead of crash
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Allow readTablePk to stumble on scan+deleted tuple,
          reporting no-match instead of crash
      5df4ea9a
  9. 15 Mar, 2007 4 commits
    • unknown's avatar
      ndb - bug#27169 · c0f28669
      unknown authored
        Fix bug in SUMA::resend_bucket which could cause mysqld to crash
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Remove *len* part from sz,
          or an extra word will be sent (sometimes) which will cause event-api barf
      storage/ndb/test/ndbapi/test_event.cpp:
        test prg for bug#27169
      storage/ndb/test/run-test/daily-basic-tests.txt:
        test prg for bug#27169
      c0f28669
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 442595da
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/test/src/UtilTransactions.cpp:
        Auto merged
      442595da
    • unknown's avatar
      ndb - fix bug in UtilTransactions::compare · 970d515c
      unknown authored
        reset rowcount on temporary error during scan of base table
      
      
      970d515c
    • unknown's avatar
      ndb - · 44e5052f
      unknown authored
        fix test_event -n EventOperationApplier
      
      
      storage/ndb/test/ndbapi/test_event.cpp:
        fix potential race
      storage/ndb/test/src/HugoCalculator.cpp:
        genrate longer varsize keys
      44e5052f
  10. 14 Mar, 2007 2 commits
    • unknown's avatar
      ndb - bug#27005 · ee05abd6
      unknown authored
          Handle API failure during resend
          API failure could cause release of table object, which will make resend crash
            when dereferencing table object
            
          Solution, use table_id+hash+schemaversion instead of *raw* pointer in resend
      
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Handle API failure during resend
        API failure could cause release of table object, which will make resend crash
          when dereferencing table object
              
        Solution, use table_id+hash+schemaversion instead of *raw* pointer in resend
      storage/ndb/test/tools/listen.cpp:
        add new events
      ee05abd6
    • unknown's avatar
      ndb - bug#27087 · 7e425280
      unknown authored
        Make sure not to handle API_FAILREQ if it's already handled
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Make sure not to handle API_FAILREQ if it's already handled
      7e425280
  11. 13 Mar, 2007 4 commits
    • unknown's avatar
      ndb - bug#27102 · 2e1aac8a
      unknown authored
        Make sure head after undo execute does not point to last page of file
        As this will confuse next write to group
      
      
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Make sure head after undo execute does not point to last page of file
        As this will confuse next write to group
      2e1aac8a
    • unknown's avatar
      ndb - bug#27003 · 10f55b02
      unknown authored
        merge to 5.1, adopt testprg to optimized node recovery
      
      
      storage/ndb/include/kernel/signaldata/LqhKey.hpp:
        Add Restore as friend
      storage/ndb/src/kernel/blocks/restore.cpp:
        Give proper error message on LQHKEYREF
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        post merge fix, adopt to optimized node recovery...
      10f55b02
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · ecaf9b73
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        merge
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      ecaf9b73
    • 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
  12. 09 Mar, 2007 6 commits
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca · f184c817
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-telco-gca
      
      
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        manual merge
      storage/ndb/src/ndbapi/ndberror.c:
        manual merge
      f184c817
    • unknown's avatar
      added error code for failing send signal and timeout waiting for node failure · 7c143080
      unknown authored
      added error code for failing send signal and timeout waiting for node failure
      
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        added error code for failing send signal and timeout waiting for node failure
      ndb/src/ndbapi/ndberror.c:
        added error code for failing send signal and timeout waiting for node failure
      7c143080
    • unknown's avatar
      Bug #26825 MySQL Server Crashes in high load · e8510268
      unknown authored
      Bug #26997  	mysqld segfault when in single user mode
      
      
      sql/ha_ndbcluster.cc:
        make sure error is always set even if no proper error code from ndb
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        add error code for failing send signal (typically single user mode)
      storage/ndb/src/ndbapi/ndberror.c:
        added error code for failing send signal and timeout waiting for node failure
      e8510268
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/tmp/mysql-5.0-telco-gca · 019c72a4
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/tmp/mysql-5.1-telco-gca
      
      
      storage/ndb/tools/waiter.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        merge
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        merge
      019c72a4
    • unknown's avatar
      ndb single user basic test · 3dbfc95c
      unknown authored
      3dbfc95c
    • unknown's avatar
      · 58222160
      unknown authored
      Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes
      - correction of part 1
          add ndb_waiter option to wait for single user mode
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes
        - correction of part 1
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes
        - correction of part 1
      ndb/tools/waiter.cpp:
        add ndb_waiter option to wait for single user mode
      58222160