1. 21 Jun, 2007 1 commit
    • unknown's avatar
      Many files: · ef1d21dd
      unknown authored
        New test cases for generic apply status table
      rpl_ndb_dd_advance.test:
        Updated test case to not run sooo long
      show_binlog_using_logname.inc, tpcb_disk_data.inc:
        New support file 
      rpl_ndb_dd_advance.result:
        Updated result
      tpcb.inc:
        New support file for Updated test case to not run sooo long
      
      
      mysql-test/t/rpl_ndb_dd_advance.test:
        Updated test case to not run sooo long
      mysql-test/include/tpcb.inc:
        New support file for Updated test case to not run sooo long
      mysql-test/r/rpl_ndb_dd_advance.result:
        Updated result
      mysql-test/t/rpl_ndb_mix_innodb.test:
        New test cases for generic apply status table
      mysql-test/t/rpl_ndb_stm_innodb.test:
        New test cases for generic apply status table
      mysql-test/extra/rpl_tests/rpl_ndb_apply_status.test:
        New test cases for generic apply status table
      mysql-test/t/rpl_ndb_stm_innodb-master.opt:
        New test cases for generic apply status table
      mysql-test/t/rpl_ndb_mix_innodb-master.opt:
        New test cases for generic apply status table
      mysql-test/include/tpcb_disk_data.inc:
        New support file
      mysql-test/include/show_binlog_using_logname.inc:
        New support file
      mysql-test/r/rpl_ndb_stm_innodb.result:
        New test cases for generic apply status table
      mysql-test/r/rpl_ndb_mix_innodb.result:
        New test cases for generic apply status table
      ef1d21dd
  2. 14 Jun, 2007 16 commits
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca · 85cfe25e
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Auto merged
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        manual merge
      85cfe25e
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · 25ea9004
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      storage/ndb/src/common/transporter/Packer.cpp:
        Auto merged
      storage/ndb/src/common/transporter/TCP_Transporter.hpp:
        Auto merged
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNdbApi.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        SCCS merged
      25ea9004
    • unknown's avatar
      Bug #27640 backup id not displayed in the output of "ndb_mgm start backup wait completed" · 81872d57
      unknown authored
      - correction, missing node id
      
      81872d57
    • 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
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 30809f65
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      30809f65
    • unknown's avatar
      correct warning · 7178ab4a
      unknown authored
      7178ab4a
    • unknown's avatar
      Merge jhe@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 18366e3c
      unknown authored
      into  dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.0/bug27640-5.0-ndb
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      18366e3c
    • unknown's avatar
      Merge jhe@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 0e0a691c
      unknown authored
      into  dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.1/bug27640-5.1-new-ndb
      
      0e0a691c
    • unknown's avatar
      Bug#27640, backup id not dispalyed in the output of "ndb_mgm start backup wait completed" · d2b659d9
      unknown authored
      correct related sourcecode after merge from 5.0
      
      
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        correct something to ensure only related sourcecode are merged
      d2b659d9
    • unknown's avatar
      Merge dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.0/bug27640-5.0-ndb · 4a24e85b
      unknown authored
      into  dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.1/bug27640-5.1-new-ndb
      
      
      storage/ndb/include/debugger/EventLogger.hpp:
        Auto merged
      storage/ndb/src/mgmclient/Makefile.am:
        Auto merged
      4a24e85b
    • unknown's avatar
      Bug#27640, backup id not displayed in the output of "ndb_mgm start backup wait completed" · c93e1b72
      unknown authored
      
      ndb/include/debugger/EventLogger.hpp:
        add definition for new printLogEvent() function in CommandInterpreter.cpp
      ndb/src/mgmclient/CommandInterpreter.cpp:
        add a printLogEvent() function to print log event;
        filter "<PING>" by ndb_logevent_get_next() in event_thread_run();
        filter "<PING>" by ndb_logevent_get_next() in executeStartBackup();
        and make executeStartBackup() same in both 5.0 and 5.1
      ndb/src/mgmclient/Makefile.am:
        add link to use ndb_logevent_get_next()
      mysql-test/r/ndb_backup_print.result:
        testcase result for ndb_backup_print
        produced by mysql_test_run.pl
      mysql-test/t/ndb_backup_print.test:
        add testcase for ndb_mgm -e "start backup", check outupt format
      c93e1b72
    • unknown's avatar
      Makefile.am: · 5af60056
      unknown authored
        new public file needs to get into distribution
      
      
      storage/ndb/include/Makefile.am:
        new public file needs to get into distribution
      5af60056
    • unknown's avatar
      Bug #29103 ndb_restore segfaults on NULL var[char|binary] · 0656cd2e
      unknown authored
      
      
      mysql-test/r/ndb_restore.result:
        Bug #29103 ndb_restore segfaults on NULL var[char|binary]
        - add extra row with NULL value to test
      mysql-test/t/ndb_restore.test:
        Bug #29103 ndb_restore segfaults on NULL var[char|binary]
        - add extra row with NULL value to test
      storage/ndb/tools/restore/consumer_restore.cpp:
        Bug #29103 ndb_restore segfaults on NULL var[char|binary]
        - check that the attribute is not null
      0656cd2e
    • unknown's avatar
      get mgmapi error codes into perror · 3f04dbba
      unknown authored
      
      storage/ndb/include/mgmapi/mgmapi_error.h:
        New BitKeeper file ``storage/ndb/include/mgmapi/mgmapi_error.h''
      3f04dbba
    • unknown's avatar
      move all error codes to ndberror.c · f2e2c1ec
      unknown authored
      - step 1 mgmtsrvr error codes
      
      
      storage/ndb/src/mgmsrv/ndb_mgmd_error.h:
        New BitKeeper file ``storage/ndb/src/mgmsrv/ndb_mgmd_error.h''
      f2e2c1ec
    • unknown's avatar
      fix build of mgm client with history - caught by pb. · 2d06bf3b
      unknown authored
      
      storage/ndb/src/mgmclient/main.cpp:
        fix build issues only caught by pb (mgm client history related)
      2d06bf3b
  3. 13 Jun, 2007 9 commits
    • unknown's avatar
      [PATCH] add knielsen as MAINTAINER of NDBAPI NdbRecord examples · f6c8e73c
      unknown authored
      Index: ndb-merge/storage/ndb/MAINTAINERS
      ===================================================================
      
      
      storage/ndb/MAINTAINERS:
        add knielsen as MAINTAINER of NDBAPI NdbRecord examples
      f6c8e73c
    • unknown's avatar
      [PATCH] Add MAINTAINERS file for NDB · 57dfaa78
      unknown authored
      Index: ndb-merge/storage/ndb/MAINTAINERS
      ===================================================================
      
      
      storage/ndb/MAINTAINERS:
        Add MAINTAINERS file for NDB
      57dfaa78
    • unknown's avatar
      [PATCH] BUG#29074 preserve file timestamps in ndb_error_reporter · 2dfbd949
      unknown authored
      Index: ndb-work/storage/ndb/tools/ndb_error_reporter
      ===================================================================
      
      
      storage/ndb/tools/ndb_error_reporter:
        BUG#29074 preserve file timestamps in ndb_error_reporter
      2dfbd949
    • unknown's avatar
      [PATCH] Enable test for (Closed) bug 16445 · 76e48dcd
      unknown authored
      Bug was updated on May 30th by Tomas to say that hasn't been seen in PB
      since global dict cache rewrite. This test should probably be enabled then.
      
      Index: ndb-work/mysql-test/t/ndb_basic.test
      ===================================================================
      
      
      mysql-test/r/ndb_basic.result:
        Enable test for (Closed) bug 16445
      mysql-test/t/ndb_basic.test:
        Enable test for (Closed) bug 16445
      76e48dcd
    • unknown's avatar
      [PATCH] BUG#29073 Store history for ndb_mgm · 5bb95f85
      unknown authored
      Index: ndb-work/storage/ndb/src/mgmclient/main.cpp
      ===================================================================
      
      
      storage/ndb/src/mgmclient/main.cpp:
        BUG#29073 Store history for ndb_mgm
      5bb95f85
    • unknown's avatar
      [PATCH] Add tests for ndb variables (related to BUG#26675) · 1a3f47d6
      unknown authored
      This is somewhat related to BUG#26675 (ndb_connectstring not reported
      in show global variables)
      
      Index: ndb-work/mysql-test/r/ndb_basic.result
      ===================================================================
      
      
      mysql-test/r/ndb_basic.result:
        Add tests for ndb variables (related to BUG#26675)
      mysql-test/t/ndb_basic.test:
        Add tests for ndb variables (related to BUG#26675)
      1a3f47d6
    • unknown's avatar
      [PATCH] Disable mysql_upgrade test (Bug#28560) · bade6fc5
      unknown authored
      Index: ndb-work/mysql-test/t/disabled.def
      ===================================================================
      
      
      mysql-test/t/disabled.def:
        Disable mysql_upgrade test (Bug#28560)
      bade6fc5
    • unknown's avatar
      [PATCH] BUG#29063 mgmapi: connect timeout set incorrectly · bdbf8ad1
      unknown authored
      correctly divide timeout by 1000 to convert to seconds for SocketClient
      
      Index: ndb-work/storage/ndb/src/mgmapi/mgmapi.cpp
      ===================================================================
      
      
      storage/ndb/src/mgmapi/mgmapi.cpp:
        BUG#29063 mgmapi: connect timeout set incorrectly
      bdbf8ad1
    • unknown's avatar
      [PATCH] BUG#29063 TESTCASE mgmapi: connect timeout set incorrectly · 03c1a7a3
      unknown authored
      Add test to testMgm for Connect timeout. add to autotest.
      
      Index: ndb-work/storage/ndb/test/ndbapi/testMgm.cpp
      ===================================================================
      
      
      storage/ndb/test/ndbapi/testMgm.cpp:
        BUG#29063 TESTCASE mgmapi: connect timeout set incorrectly
      storage/ndb/test/run-test/daily-basic-tests.txt:
        BUG#29063 TESTCASE mgmapi: connect timeout set incorrectly
      03c1a7a3
  4. 12 Jun, 2007 5 commits
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca · f3603572
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      f3603572
    • 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
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · dde98ff4
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        merge
      dde98ff4
    • 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
  5. 11 Jun, 2007 3 commits
  6. 08 Jun, 2007 1 commit
    • unknown's avatar
      ndb - bug#28724 for blobs, op flag to not set error on trans (fix, recommit) · 71d850aa
      unknown authored
      
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        add NdbOperation option m_noErrorPropagation.
        If AO_IgnoreError and it are set then operation error does not set error code on transaction.
        Private, and used by NdbBlob.cpp only.
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        add NdbOperation option m_noErrorPropagation.
        If AO_IgnoreError and it are set then operation error does not set error code on transaction.
        Private, and used by NdbBlob.cpp only.
      storage/ndb/src/ndbapi/NdbOperation.cpp:
        add NdbOperation option m_noErrorPropagation.
        If AO_IgnoreError and it are set then operation error does not set error code on transaction.
        Private, and used by NdbBlob.cpp only.
      71d850aa
  7. 05 Jun, 2007 4 commits
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.1-telco-gca · 7bd08831
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      mysql-test/ndb/ndb_config_2_node.ini:
        Auto merged
      storage/ndb/include/ndb_global.h.in:
        Auto merged
      storage/ndb/src/common/portlib/NdbTick.c:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/restore.cpp:
        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/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp:
        Auto merged
      storage/ndb/src/kernel/vm/WatchDog.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/tools/restore/Restore.cpp:
        Auto merged
      7bd08831
    • 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
    • unknown's avatar
      Bug #28899 not possible to set separate watchdog timeout at startup · 13f4ac11
      unknown authored
      
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        add new configuration parameter TimeBetweenWatchDogCheckInitial
      storage/ndb/include/portlib/NdbTick.h:
        enable timing code
      storage/ndb/src/common/portlib/NdbTick.c:
        enable timing code
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        read watchdog timeout to set it after malloc
      storage/ndb/src/kernel/vm/Configuration.cpp:
        read initial watchdog timeout and set it in the beginning
      storage/ndb/src/kernel/vm/Configuration.hpp:
        read initial watchdog timeout and set it in the beginning
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        introduce new state for "action" malloc of memory
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        introduce new state for "action" malloc of memory
      storage/ndb/src/kernel/vm/WatchDog.cpp:
        rewrite watchdog to check every 100ms for being stuch, but keep shutdown after 3 * interval
        for "action" == 9 (malloc)  keep old behavior and only output every interval
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        add new configuration parameter TimeBetweenWatchDogCheckInitial
      13f4ac11
  8. 04 Jun, 2007 1 commit