1. 11 Oct, 2007 1 commit
    • unknown's avatar
      ndb - bug#31525 · 2d9aecd3
      unknown authored
        Fix bug regarding node that missed 2 LCP's (that was not included in next LCP after SR)
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        add new error codes for bug#31525
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add new error codes for bug#31525
        fix bug, i.e include missing_2 in LCP
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase for bug#31525
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase for bug#31525
      2d9aecd3
  2. 09 Oct, 2007 2 commits
  3. 08 Oct, 2007 7 commits
    • unknown's avatar
      ndb - fix dd drop table race condition · 23076805
      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
      23076805
    • unknown's avatar
      ndb - Fix disk scan (backup) · 26b80168
      unknown authored
        (introduced by only updating extent pages after pageout)
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Fix disk scan (backup)
      26b80168
    • unknown's avatar
      ndb - remove extra ; · 8919f708
      unknown authored
        (in test framework)
      
      
      storage/ndb/test/src/NDBT_Thread.cpp:
        remove extra ;
      8919f708
    • unknown's avatar
      ndb - bug#31257 · cdd067e6
      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
      cdd067e6
    • unknown's avatar
      ndb - bug#30975 (recommit to 51-telco-gca) · db693ec9
      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
      db693ec9
    • unknown's avatar
      ndb - Set usable timeout for atrt · c127ccf9
      unknown authored
        (problem introduced by stew's timeout handling)
      
      
      storage/ndb/src/cw/cpcd/APIService.cpp:
        Set usable timeout for atrt
      c127ccf9
    • unknown's avatar
      ndb - fix bug in old test prg(s) · 75b53ccc
      unknown authored
        fix SR1 and SR2
      
      
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        fix SR1 and SR2
      75b53ccc
  4. 29 Sep, 2007 1 commit
    • unknown's avatar
      ndb - bug#30975 · 37bf78ec
      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
      37bf78ec
  5. 28 Sep, 2007 1 commit
    • unknown's avatar
      ndb - add new testcases/error insert bug#30975 · 7bbddc70
      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
      7bbddc70
  6. 11 Sep, 2007 1 commit
    • unknown's avatar
      ndb - bug#30914 · 45cb2e2a
      unknown authored
        Dont add insert+delete tuple(s) to lcp-keep-list
      
      45cb2e2a
  7. 14 Jul, 2007 1 commit
    • unknown's avatar
      ndb - threads and timings to hugo* pk ops · 8e38e49c
      unknown authored
      
      storage/ndb/test/include/HugoTransactions.hpp:
        threads and timings to hugo* pk ops
      storage/ndb/test/include/NDBT_Thread.hpp:
        threads and timings to hugo* pk ops
      storage/ndb/test/src/HugoTransactions.cpp:
        threads and timings to hugo* pk ops
      storage/ndb/test/src/Makefile.am:
        threads and timings to hugo* pk ops
      storage/ndb/test/src/NDBT_Thread.cpp:
        threads and timings to hugo* pk ops
      storage/ndb/test/tools/hugoPkDelete.cpp:
        threads and timings to hugo* pk ops
      storage/ndb/test/tools/hugoPkRead.cpp:
        threads and timings to hugo* pk ops
      storage/ndb/test/tools/hugoPkUpdate.cpp:
        threads and timings to hugo* pk ops
      8e38e49c
  8. 04 Jul, 2007 2 commits
  9. 03 Jul, 2007 5 commits
  10. 02 Jul, 2007 3 commits
  11. 26 Jun, 2007 2 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca · 5ebd65ea
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      5ebd65ea
    • unknown's avatar
      ndb - bug#29331 (51) · 3a4078c6
      unknown authored
          Add better handling of GCP Stop
          Only kill "offending" node
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        add new error codes
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        add better GCP stop handling
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add better GCP stop handling
      3a4078c6
  12. 25 Jun, 2007 5 commits
  13. 24 Jun, 2007 1 commit
  14. 20 Jun, 2007 1 commit
  15. 18 Jun, 2007 1 commit
  16. 14 Jun, 2007 1 commit
    • unknown's avatar
      bug#29099 - slow backup for disk data · acd10b9f
      unknown authored
      - implement read ahead during disk data scan
      
      
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        maximum read ahead
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        maximum read ahead should not be larger than page buffer size
        maximum aslo set to 32 pages
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        read ahead for disk data scan
      storage/ndb/src/kernel/blocks/pgman.cpp:
        set higher max_io_waits for read ahead
        round off upwards in page_buffer size
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        add null callback to be used for read ahead (no callback needed)
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        add null callback to be used for read ahead (no callback needed)
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        remove the debug trace, not needed any more
      storage/ndb/test/tools/hugoFill.cpp:
        allow setting database in hugoFill
      acd10b9f
  17. 12 Jun, 2007 3 commits
    • unknown's avatar
      Bug#29044 - memory buddy allocator "unoptimal" memory handling · a73a7b6c
      unknown authored
      - add config param to have better behavior with large tables
      
      a73a7b6c
    • unknown's avatar
      extend backup dump to give more info · 83e066b1
      unknown authored
      83e066b1
    • unknown's avatar
      ndb - bug#29044 · de7b2e9a
      unknown authored
        Improve buddy high order allocation
        Make removeCommonArea O(1) instead of O(N)
        Add limit to left/right search
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
        Add info to buddy module test about 
        1) loops being made in buddy
        2) how much was allocated
      storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        1) make removeCommonArea o(1) - as list is (after fix) double linked anyway
        2) set page_state = ZFREE_COMMON insertCommonArea and ~ZFREE_COMMON in removeCommonArea
        3) add max loops in search left/right
        4) add more debug info
      de7b2e9a
  18. 05 Jun, 2007 2 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca · 05ff34a2
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-telco-gca
      
      
      mysql-test/ndb/ndb_config_2_node.ini:
        Auto merged
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        manual merge
      05ff34a2
    • unknown's avatar
      Bug #28751 Lots of memory locked in memory causes high kswapd · 96e8af01
      unknown authored
      - add odirect option for lcp+backup+redo log to lower CPU/kswapd usage
      - writing odirect removes need for kernel write buffers avoiding kswapd to kick in
      
      
      mysql-test/ndb/ndb_config_2_node.ini:
        run mysql-test-run using ODirect
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        add new config parameter to choose ODirect
      storage/ndb/include/ndb_global.h.in:
        specify alignment needed for odirect
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        read odirect config param
        open LCP and Backup datafiles with odirect if specified
        insert empty padding record if odirect is used
        allocate buffers aligned to be able to use odirect
      storage/ndb/src/kernel/blocks/backup/Backup.hpp:
        odirect and padding options
      storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp:
        add empty_record in file format
      storage/ndb/src/kernel/blocks/backup/BackupInit.cpp:
        read odirect config and allocate aligned
      storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp:
        correct debug printouts
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        read odirect config param and align buffers
      storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        read odirect config param and align buffers
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        read config params and open redo log files with odirect if set
      storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        aligned writing for odirect
        correct odirect open options with test+fallback if odirect fails
      storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp:
        align + odirect check
      storage/ndb/src/kernel/blocks/restore.cpp:
        restor block to ignore new lcp padding empty_record
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        alligend log buffer allocation for odirect
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        alligend log buffer allocation for odirect
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        new config param for odirect, default false
      storage/ndb/tools/restore/Restore.cpp:
        ndb_restore to skip empty_record alignment padding in backup file
      96e8af01