1. 11 Oct, 2007 1 commit
    • unknown's avatar
      ndb - · 7de1ec1e
      unknown authored
        decrease test time
      
      
      storage/ndb/test/run-test/daily-basic-tests.txt:
        decrease test time
      7de1ec1e
  2. 09 Oct, 2007 6 commits
  3. 08 Oct, 2007 10 commits
    • unknown's avatar
      ndb - post merge fixes · a586bb61
      unknown authored
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        merge
      a586bb61
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · 1c8547f2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      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/lgman.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/tsman.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Auto merged
      storage/ndb/test/src/NDBT_Thread.cpp:
        Auto merged
      1c8547f2
    • unknown's avatar
      ndb - fix dd drop table race condition · 16f5fec2
      unknown authored
        add list of pages being unmaped, so we can wait for it to be empty before dropping extents
      
      
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        add list of pages being unmaped
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        add list of pages being unmaped
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        wait for unmap pages
      16f5fec2
    • unknown's avatar
      ndb - Fix disk scan (backup) · 14634a49
      unknown authored
        (introduced by only updating extent pages after pageout)
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Fix disk scan (backup)
      14634a49
    • unknown's avatar
      ndb - remove extra ; · f401993d
      unknown authored
        (in test framework)
      
      
      storage/ndb/test/src/NDBT_Thread.cpp:
        remove extra ;
      f401993d
    • unknown's avatar
      ndb - bug#31257 · e53ffccb
      unknown authored
          handle partially complete LCP better in SR
      
      
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        remove partially complete LCP from "node" when doign removeNodeFromTable
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove partially complete LCP from "node" when doign removeNodeFromTable
      e53ffccb
    • unknown's avatar
      ndb - bug#30975 (recommit to 51-telco-gca) · b3222660
      unknown authored
          - only update extent pages *after* flush of real page has been done
          - sync both create/drop of table into undolog (for disk tables)
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        inform TUP which LCP to restore each fragment to
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        1) inform TUP which LCP to restore each fragment to
        2) inform TUP both before/after a page has been written
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        1) inform TUP which LCP to restore each fragment to
        2) inform TUP both before/after a page has been written
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        log both create/drop table
      storage/ndb/src/kernel/blocks/lgman.cpp:
        let TUP know about all LCPs
      storage/ndb/src/kernel/blocks/pgman.cpp:
        add "when" argument to disk_page_unmap_callback so that TUP gets informed both before and after page writeout
          so that extent pages can be updated only *after* page has been written
      storage/ndb/src/kernel/blocks/tsman.cpp:
        remove lsn from update page free bits
        use wal for page vs extent relation
      storage/ndb/src/kernel/blocks/tsman.hpp:
        remove lsn from update page free bits
        use wal for page vs extent relation
      b3222660
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · b02cd14f
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/cw/cpcd/APIService.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      b02cd14f
    • unknown's avatar
      ndb - Set usable timeout for atrt · 8625e942
      unknown authored
        (problem introduced by stew's timeout handling)
      
      
      storage/ndb/src/cw/cpcd/APIService.cpp:
        Set usable timeout for atrt
      8625e942
    • unknown's avatar
      ndb - fix bug in old test prg(s) · b86c7308
      unknown authored
        fix SR1 and SR2
      
      
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        fix SR1 and SR2
      b86c7308
  4. 03 Oct, 2007 5 commits
  5. 02 Oct, 2007 4 commits
  6. 01 Oct, 2007 2 commits
  7. 29 Sep, 2007 1 commit
    • unknown's avatar
      ndb - bug#30975 · d1772b37
      unknown authored
        add even more tests
      
      
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        add more tests...
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add more tests
      d1772b37
  8. 28 Sep, 2007 4 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · cfe7e01a
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      cfe7e01a
    • unknown's avatar
      post merge · 885ad6ef
      unknown authored
      885ad6ef
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · d9bba820
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Auto merged
      storage/ndb/test/src/UtilTransactions.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      storage/ndb/test/src/HugoTransactions.cpp:
        merge
      d9bba820
    • unknown's avatar
      ndb - add new testcases/error insert bug#30975 · 9e54eeee
      unknown authored
        (recommit for correct merge order)
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        add error inserts
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        add error insert
      storage/ndb/src/kernel/blocks/pgman.cpp:
        add error inserts
      storage/ndb/test/include/HugoTransactions.hpp:
        add 
        - loadTableStartFrom
        - scanUpdate with scanflags
        - fillTableStartFrom
      storage/ndb/test/include/UtilTransactions.hpp:
        add
        - clearTable with scan flags
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        add new testcases
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add new testcases
      storage/ndb/test/src/HugoTransactions.cpp:
        add new functions
      storage/ndb/test/src/UtilTransactions.cpp:
        add new functions
      9e54eeee
  9. 27 Sep, 2007 1 commit
  10. 25 Sep, 2007 5 commits
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/mysql-5.1-ndb · 9b428b9e
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/bug30996
      
      
      9b428b9e
    • unknown's avatar
      ndb_rand.c: · 10fbce08
      unknown authored
        Rename: ndb/src/common/util/ndb_rand.c -> storage/ndb/src/common/util/ndb_rand.c
      ndb_rand.h:
        Rename: ndb/include/util/ndb_rand.h -> storage/ndb/include/util/ndb_rand.h
      
      
      storage/ndb/include/util/ndb_rand.h:
        Rename: ndb/include/util/ndb_rand.h -> storage/ndb/include/util/ndb_rand.h
      storage/ndb/src/common/util/ndb_rand.c:
        Rename: ndb/src/common/util/ndb_rand.c -> storage/ndb/src/common/util/ndb_rand.c
      10fbce08
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · 5fe076d6
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
      
      
      storage/ndb/src/common/util/Makefile.am:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      5fe076d6
    • unknown's avatar
      [PATCH] BUG#30379 Better randomise time before retry in timeout check (DBTC) · f7886540
      unknown authored
      timoOutLoopStartLab() checks if any transactions have been delayed
      for so long that we are forced to perform some action (e.g. abort,
      resend etc).
      
      It is *MEANT* to (according to the comment):
      > To avoid aborting both transactions in a deadlock detected by time-out
      > we insert a random extra time-out of upto 630 ms by using the lowest
      > six bits of the api connect reference.
      > We spread it out from 0 to 630 ms if base time-out is larger than 3 sec,
      > we spread it out from 0 to 70 ms if base time-out is smaller than 300 msec,
      > and otherwise we spread it out 310 ms.
      
      The comment (as all do) lies.
      
      the API connect reference is not very random, producing incredibly
      predictable "random" numbers. This could lead to both txns being
      aborted instead of just one.
      
      Before:
      timeout value: 123 3
      timeout value: 122 2
      timeout value: 122 2
      timeout value: 122 2
      timeout value: 123 3
      
      After:
      timeout value: 127 7
      timeout value: 126 6
      timeout value: 129 9
      timeout value: 139 19
      timeout value: 137 17
      timeout value: 151 31
      timeout value: 130 10
      timeout value: 132 12
      
      Index: ndb-work/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
      ===================================================================
      
      
      ndb/src/common/util/Makefile.am:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/include/util/ndb_rand.h:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/src/common/util/ndb_rand.c:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      f7886540
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/mysql-5.1-ndb · 8e3581c7
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/bug30996
      
      
      8e3581c7
  11. 24 Sep, 2007 1 commit