1. 10 Jan, 2008 1 commit
  2. 28 Sep, 2007 1 commit
    • unknown's avatar
      BUG#28298 Node Id larger than MAX_NDB_NODES in config file doesn't generate error · 3a3e2c79
      unknown authored
      
      ndb/include/kernel/ndb_limits.h:
        1) define a macro MAX_DATA_NODE_ID to set the max ID of data nodes to be MAX_NDB_NODES - 1
        2) define a macro MAX_NODES_ID to set the max ID of API and MGM to be MAX_NODES -1
      ndb/src/mgmsrv/ConfigInfo.cpp:
        1) replace MAX_NODES with MAX_DATA_NODE_ID (= MAX_NDB_NODES - 1)  when the NodeId represents data nodes.
        2) replace MAX_NODES with MAX_NODES_ID (= MAX_NODES -1) when the NodeId represents API or MGM nodes.
      3a3e2c79
  3. 06 Jul, 2007 1 commit
  4. 04 Jul, 2007 1 commit
  5. 15 Jun, 2007 1 commit
  6. 14 Jun, 2007 21 commits
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · d520cd08
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      d520cd08
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · cc75d9ea
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      cc75d9ea
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca · b42f4237
      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
      b42f4237
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · ec885d9c
      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
      ec885d9c
    • unknown's avatar
      Bug #27640 backup id not displayed in the output of "ndb_mgm start backup wait completed" · ebcbfef8
      unknown authored
      - correction, missing node id
      
      
      ebcbfef8
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb · d442b5a5
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      sql/handler.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Merge
      storage/ndb/src/ndbapi/Ndb.cpp:
        Merge
      d442b5a5
    • unknown's avatar
      bug#29099 - slow backup for disk data · e59c1f5d
      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
      e59c1f5d
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · d168b042
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/include/ndbapi/Ndb.hpp:
        Auto merged
      d168b042
    • unknown's avatar
      Bug#26342 auto_increment_increment AND auto_increment_offset REALLY REALLY... · 16048913
      unknown authored
      Bug#26342 auto_increment_increment AND auto_increment_offset REALLY REALLY anger NDB cluster, implemented support for auto_increment_offset and auto_increment_increment for Ndb, post review fix
      
      
      
      16048913
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 90423a37
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      90423a37
    • unknown's avatar
      correct warning · 9905b81e
      unknown authored
      9905b81e
    • unknown's avatar
      Merge jhe@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · edb853a6
      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
      edb853a6
    • unknown's avatar
      Merge jhe@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 103c1eef
      unknown authored
      into  dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.1/bug27640-5.1-new-ndb
      
      
      103c1eef
    • unknown's avatar
      Bug#27640, backup id not dispalyed in the output of "ndb_mgm start backup wait completed" · e470fbe9
      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
      e470fbe9
    • unknown's avatar
      Merge dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.0/bug27640-5.0-ndb · 6ead7eea
      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
      6ead7eea
    • unknown's avatar
      Bug#27640, backup id not displayed in the output of "ndb_mgm start backup wait completed" · 4daad4eb
      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
      4daad4eb
    • unknown's avatar
      Makefile.am: · 12d1dece
      unknown authored
        new public file needs to get into distribution
      
      
      storage/ndb/include/Makefile.am:
        new public file needs to get into distribution
      12d1dece
    • unknown's avatar
      Bug #29103 ndb_restore segfaults on NULL var[char|binary] · 28444ac8
      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
      28444ac8
    • unknown's avatar
      get mgmapi error codes into perror · ef3ed50b
      unknown authored
      
      storage/ndb/include/mgmapi/mgmapi_error.h:
        New BitKeeper file ``storage/ndb/include/mgmapi/mgmapi_error.h''
      ef3ed50b
    • unknown's avatar
      move all error codes to ndberror.c · 0d5c6b70
      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''
      0d5c6b70
    • unknown's avatar
      fix build of mgm client with history - caught by pb. · cb9817cc
      unknown authored
      
      storage/ndb/src/mgmclient/main.cpp:
        fix build issues only caught by pb (mgm client history related)
      cb9817cc
  7. 13 Jun, 2007 9 commits
    • unknown's avatar
      [PATCH] add knielsen as MAINTAINER of NDBAPI NdbRecord examples · 29987e6e
      unknown authored
      Index: ndb-merge/storage/ndb/MAINTAINERS
      ===================================================================
      
      
      storage/ndb/MAINTAINERS:
        add knielsen as MAINTAINER of NDBAPI NdbRecord examples
      29987e6e
    • unknown's avatar
      [PATCH] Add MAINTAINERS file for NDB · f344a35f
      unknown authored
      Index: ndb-merge/storage/ndb/MAINTAINERS
      ===================================================================
      
      
      storage/ndb/MAINTAINERS:
        Add MAINTAINERS file for NDB
      f344a35f
    • unknown's avatar
      [PATCH] BUG#29074 preserve file timestamps in ndb_error_reporter · 42044a87
      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
      42044a87
    • unknown's avatar
      [PATCH] Enable test for (Closed) bug 16445 · 85525c4a
      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
      85525c4a
    • unknown's avatar
      [PATCH] BUG#29073 Store history for ndb_mgm · 21819c2a
      unknown authored
      Index: ndb-work/storage/ndb/src/mgmclient/main.cpp
      ===================================================================
      
      
      storage/ndb/src/mgmclient/main.cpp:
        BUG#29073 Store history for ndb_mgm
      21819c2a
    • unknown's avatar
      [PATCH] Add tests for ndb variables (related to BUG#26675) · 1f2ce0eb
      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)
      1f2ce0eb
    • unknown's avatar
      [PATCH] Disable mysql_upgrade test (Bug#28560) · 18c6c75a
      unknown authored
      Index: ndb-work/mysql-test/t/disabled.def
      ===================================================================
      
      
      mysql-test/t/disabled.def:
        Disable mysql_upgrade test (Bug#28560)
      18c6c75a
    • unknown's avatar
      [PATCH] BUG#29063 mgmapi: connect timeout set incorrectly · 495a9490
      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
      495a9490
    • unknown's avatar
      [PATCH] BUG#29063 TESTCASE mgmapi: connect timeout set incorrectly · e42de772
      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
      e42de772
  8. 12 Jun, 2007 5 commits
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca · 0daf97d6
      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
      0daf97d6
    • unknown's avatar
      Bug#29044 - memory buddy allocator "unoptimal" memory handling · 805d32bd
      unknown authored
      - add config param to have better behavior with large tables
      
      
      805d32bd
    • unknown's avatar
      extend backup dump to give more info · 98e08c79
      unknown authored
      98e08c79
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · b26fa854
      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
      b26fa854
    • unknown's avatar
      ndb - bug#29044 · 1f90b253
      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
      1f90b253