1. 01 Jun, 2006 4 commits
    • unknown's avatar
      ndb - dbacc · eefb3fde
      unknown authored
        store new op when converting WRITE to UPDATE so that ACCKEYCONF gets correct
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        store new op when converting WRITE to UPDATE so that ACCKEYCONF gets correct
      eefb3fde
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · bfa09fc1
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-jonas
      
      
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      bfa09fc1
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 121fc6f5
      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/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      121fc6f5
    • unknown's avatar
      ndb - bug#20185 · 0eb906ef
      unknown authored
        Dont be too aggressive in Dbtc::nodeFailCheckTransaction
        let it timeout by 1, so that it does not assert that it has waited too long
        old impl. set timeotu value to 0, making timeout = (ctcTimer - 0) which could be quite big.
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        error codes
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        2 new error inserts
        7030 - delay in GCP_PREPARE until checkLocalNodefailComplete is true
        7031 - delay in GCP_PREPARE and die
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Dont set api con timer to 0, as this might trigger asserion in timeoutfound lab if state == PREPARE_TO_COMMIT
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        autotest
      0eb906ef
  2. 31 May, 2006 3 commits
    • unknown's avatar
      ndb - · caad82d1
      unknown authored
        print some in case of error
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        print scan state in case of error
      caad82d1
    • unknown's avatar
      ndb - · 1bde03f3
      unknown authored
        fix return value of "testBasic -n InsertError2 T1"
      
      
      storage/ndb/test/ndbapi/testBasic.cpp:
        fix return value
      1bde03f3
    • unknown's avatar
      ndb - · f8e16a30
      unknown authored
        fix testNodeRestart -n Bug18612 when running with only 1 node group
      
      
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        This test needs 2 node groups.
      f8e16a30
  3. 22 May, 2006 3 commits
    • unknown's avatar
      ndb - dbacc · f0e784f9
      unknown authored
        remove too strong assertion
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        remove too strong assertion
      f0e784f9
    • unknown's avatar
      ndb - dbacc rewamp · c07053e0
      unknown authored
        fix so that getElement read localkey from lockowner instead of from page
        plus some cleanups
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        1) Use OP_INITIAL instead of ~0
        2) Use JBB instead of JBA (once that I temporary changed...)
        3) Add more validation to validate_lock_queue (insert/delete)
        4) make getElement read localkey from lockowner instead of from page
      c07053e0
    • unknown's avatar
      ndb - · d7f3a3f7
      unknown authored
        increase max time of MassiveRollback
      
      
      storage/ndb/test/run-test/daily-basic-tests.txt:
        increase max time
      d7f3a3f7
  4. 20 May, 2006 1 commit
  5. 19 May, 2006 2 commits
    • unknown's avatar
      ndb - · 2597ea33
      unknown authored
        fix scan bugs introduced by acc modifications
        add more error testcases
      
      
      storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        remove unused state
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        1) remove unused state
        2) Fix abort of running lock owner
        3) Fix abort of running op in parallell queue (especially scans)
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        remove some printouts
        add some jams
        fix so that close tupscan, can not acciently start acc scan in queue
          (NOTE limits #tupscans to 12 which is not really necessary...but the fix was easy)
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Use abort of locks when closing/blocked
          as Dbacc gets annoyed when committing an op with state running
      storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        Use abort of locks when closing/blocked
          as Dbacc gets annoyed when committing an op with state running
      storage/ndb/test/include/HugoOperations.hpp:
        new method
      storage/ndb/test/ndbapi/testBasic.cpp:
        add more test cases
      storage/ndb/test/ndbapi/testScan.cpp:
        add more testcases
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add more testcases
      storage/ndb/test/src/HugoOperations.cpp:
        add more testcases
      2597ea33
    • unknown's avatar
      ndb - · bdbec909
      unknown authored
        bug#19928 and bug#19929
        fix to critical bugs in tup scan
        that affected lcp,backup and opt. nr
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        1) dont let dirty read scan find uncommitted inserts
        2) force opt. nr scan to wait for locked rows
        3) when finding LCP keep record, use accOpPtr -1, so that it will not be committed towards ACC
      bdbec909
  6. 18 May, 2006 2 commits
    • unknown's avatar
      ndb - bug#19293 and family · fc2577d4
      unknown authored
        introduce acc per row logical mutex to fix difficult error handling cases
        
      
      
      storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        1) Fix per row mutex so that only 1 op at a time is running on a row
        2) Change TUP_ALLOC/DEALLOC semantic, so that a new record will be allocated if LQ = { T1(DEL) - T2(INS) }
        3) Rewrite lock queus to be O(1) in all cases but a few abort cases where we scan parallell queue
        4) Impl. a validate_lock_queue/dump_lock_queue test framework
      storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        1) Fix per row mutex so that only 1 op at a time is running on a row
        2) Change TUP_ALLOC/DEALLOC semantic, so that a new record will be allocated if LQ = { T1(DEL) - T2(INS) }
        3) Rewrite lock queus to be O(1) in all cases but a few abort cases where we scan parallell queue
        4) Impl. a validate_lock_queue/dump_lock_queue test framework
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        1) Fix per row mutex so that only 1 op at a time is running on a row
        2) Change TUP_ALLOC/DEALLOC semantic, so that a new record will be allocated if LQ = { T1(DEL) - T2(INS) }
        3) Rewrite lock queus to be O(1) in all cases but a few abort cases where we scan parallell queue
        4) Impl. a validate_lock_queue/dump_lock_queue test framework
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        1) impl. a new read key from operation record needed by acc
        2) expand TRACE_OP toolkit
        3) impl. ACCKEY_ORD as needed by ACC changes
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) impl. a new read key from operation record needed by acc
        2) expand TRACE_OP toolkit
        3) impl. ACCKEY_ORD as needed by ACC changes
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        remove unused states/methods
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        remove extremly tricky code that handles disk_insert_but_no_mem_insert
          that is no long needed with current acc changes
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        remove unused states/methods
      storage/ndb/test/ndbapi/testOperations.cpp:
        renable last 3 lock upgrade testcases since they now pass
      fc2577d4
    • unknown's avatar
      ndb - · 39d5d4e7
      unknown authored
        fix crashing dump numbers
      
      
      storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        fix crashing dump numbers
      39d5d4e7
  7. 17 May, 2006 2 commits
    • unknown's avatar
      ndb - · 4f7da12d
      unknown authored
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and "purge stale sessions"
      
      
      storage/ndb/include/util/SocketServer.hpp:
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and  "purge stale sessions"
      storage/ndb/src/common/util/SocketServer.cpp:
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and  "purge stale sessions"
      storage/ndb/src/mgmsrv/Services.cpp:
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and  "purge stale sessions"
      4f7da12d
    • unknown's avatar
      ndb - · 6998a915
      unknown authored
        Fix recursive mutex lock in drop index (ndbapi programs only)
      
      
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Fix recursive mutex lock in drop index (ndbapi programs only)
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Fix recursive mutex lock in drop index (ndbapi programs only)
      6998a915
  8. 08 May, 2006 3 commits
  9. 07 May, 2006 2 commits
    • unknown's avatar
      ndb - dbacc - unused variables · cf0a1caf
      unknown authored
      
      storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        more unused variables
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        more unused variables
      cf0a1caf
    • unknown's avatar
      ndb - dbacc - remove some unused variables · f8a4bc56
      unknown authored
      
      storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        remove unused variables
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        remove unused variables
      f8a4bc56
  10. 06 May, 2006 2 commits
  11. 05 May, 2006 8 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 637a4c8b
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      637a4c8b
    • unknown's avatar
      Don't use row level logging on optimize or repair table. · 78fcb9a8
      unknown authored
      (Fixes core dump in rpl_failed_optimize.test)
      Ensure we end active transcations if we do an admin command (like optimize, repair etc)
      
      
      mysql-test/extra/rpl_tests/rpl_failed_optimize.test:
        Added extra test + drop of table at end of test
      mysql-test/lib/mtr_report.pl:
        Fail if mysqld asserts or prints stack
      mysql-test/mysql-test-run.sh:
        Fail if mysqld asserts or prints stack
      mysql-test/r/exampledb.result:
        Cleanup of events_tests (as this caused a lot of problems if it didn't work)
      mysql-test/r/innodb.result:
        Extra test to see that we can do an optimize table on an active transaction
      mysql-test/r/rpl_failed_optimize.result:
        Added extra test + drop of table at end of test
      mysql-test/t/exampledb.test:
        Cleanup of events_tests (as this caused a lot of problems if it didn't work)
      mysql-test/t/innodb.test:
        Extra test to see that we can do an optimize table on an active transaction
      sql/handler.cc:
        Don't use row level logging on optimize or repair table.
      sql/log.cc:
        Simplify code (no logic changes)
      sql/mysql_priv.h:
        Added prototype
      sql/sql_base.cc:
        Better name for define
      sql/sql_class.cc:
        Indentation fix
      sql/sql_parse.cc:
        Make end_active_trans() global
      sql/sql_table.cc:
        Ensure we end active transcations if we do an admin command (like optimize, repair etc)
      78fcb9a8
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · fb76d1c1
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      fb76d1c1
    • unknown's avatar
      do not install ndb slave if no slaves · 776d8d01
      unknown authored
          fixed memleak in ndbcluster_end
      
      
      mysql-test/mysql-test-run.pl:
        do not install ndb slave if no slaves
      sql/ha_ndbcluster.cc:
        fixed memleak in ndbcluster_end
      776d8d01
    • unknown's avatar
      Fixed wrong merge · 23c0e79c
      unknown authored
      23c0e79c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · fc57480f
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      mysql-test/t/disabled.def:
        Manual merge
      fc57480f
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · 1beda216
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug10405
      
      1beda216
    • unknown's avatar
      After merge fix · 1aeffdca
      unknown authored
      1aeffdca
  12. 04 May, 2006 8 commits