1. 05 Oct, 2006 2 commits
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · 66fbc60d
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/bug13987-5.0_bugfixonly
      
      
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      66fbc60d
    • unknown's avatar
      BUG#13987 Cluster: Loss of data nodes can cause high CPU usage from ndb_mgmd · db16cae5
      unknown authored
      smaller patch for 5.0.
      
      complete patch going to 5.1 due to more intrusiveness for 'list sessions' etc
      
      
      ndb/include/mgmapi/mgmapi.h:
        add internal get_fd to use in test
      ndb/include/util/InputStream.hpp:
        - add this weird startover member to SocketInputStream
            - this helps work out if we've read a newline yet and should start inserting
                 into buffer from the start
      ndb/src/common/util/InputStream.cpp:
        remove evil, add more.
        
        keep track internally we've retrieved a newline yet (m_startover)
      ndb/src/common/util/Parser.cpp:
        change way detecting of NoLine
        
        remove some trailing whitespace that was uglying the place up a bit
      ndb/src/common/util/socket_io.cpp:
        Always retrieve data from the OS so that we instantly get EOF on disconnect
        and don't end up spinning looking for a newline.
      ndb/src/mgmapi/mgmapi.cpp:
        add internal ndb_mgm_get_fd() for internal testing
        
        handle 'node status' a bit better
      ndb/test/ndbapi/testMgm.cpp:
        Add test for MgmApiSession disconnection (mgmd at 100%)
        
        not fully automated due to smaller patch for 5.0
        
        will be complete in 5.1
      db16cae5
  2. 04 Oct, 2006 1 commit
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb-bj · d8730c3a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/include/ndb_version.h.in:
        merge
      d8730c3a
  3. 29 Sep, 2006 1 commit
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/tmp/mysql-5.0-ndb · e9d019f7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb-bj
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      ndb/src/mgmclient/main.cpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/tools/restore/restore_main.cpp:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      ndb/tools/ndb_config.cpp:
        merge
      e9d019f7
  4. 28 Sep, 2006 2 commits
  5. 26 Sep, 2006 8 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 6840f890
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        Auto merged
      ndb/include/ndbapi/NdbTransaction.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      6840f890
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 81c9ab54
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      81c9ab54
    • unknown's avatar
      ndb - bug#15303 · add68c0c
      unknown authored
        Fix take-over during SR, remove coupling to lcp/gcp (if systemRestartOngoing())
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix take-over during SR
      add68c0c
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 4530566d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      4530566d
    • unknown's avatar
      ndb - bug#22672 · 5ad0f036
      unknown authored
        handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        handle also CS_CONNECTED as "abort" to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      5ad0f036
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 6806ca7d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      6806ca7d
    • unknown's avatar
      ndb - bug#20895 · 4b6e6da6
      unknown authored
        Fix occational LCP hang!!!
        Make sure only to consider alive nodes in startNextChkpt
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure only to consider alive nodes in startNextChkpt
      4b6e6da6
    • unknown's avatar
      fix for bug#19651, if temporary error occured while retoring, report it in the restore result. · d743ce1e
      unknown authored
      
      ndb/tools/restore/consumer.hpp:
        added a function to judge whether there is temporary error.
      ndb/tools/restore/consumer_restore.cpp:
        record when temporary error occured in restore.
      ndb/tools/restore/consumer_restore.hpp:
        added a member to record temporary error in restore.
      ndb/tools/restore/restore_main.cpp:
        report temporary error in restore.
      d743ce1e
  6. 22 Sep, 2006 3 commits
  7. 21 Sep, 2006 1 commit
  8. 20 Sep, 2006 2 commits
  9. 19 Sep, 2006 3 commits
    • unknown's avatar
      Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bj · a51a8c1e
      unknown authored
      into  dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug21799
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      a51a8c1e
    • unknown's avatar
      BUG#20575 If the stopped node ids are transmitted to ndbd, · 09a73ff5
      unknown authored
                the following start, stop and restart operations aren't execute correctly
      
      
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Adding some source codes check node list whether or not stopped for STOP_REQ signal.
        If all of these nodes have stopped, then STOP_CONF signal will return.
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Ensure ndb_mgm can only transmit the valid range node id to management server.
        if the node id is greater than MAX_NODES, management server will exit abnormally.
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Ensure management server can only transmit the data node id to data node process.
      09a73ff5
    • unknown's avatar
      BUG#21585 The --help option shows a screen of command options for the ndbd,ndb_mgmd, ndb_mgm · 27f07d17
      unknown authored
                 and other commands related to ndb. For all of these, the help screen contains 
                "Ndb.cfg" string. Now i change the "Ndb.cfg" to "my.cnf" because "Ndb.cfg" is obsolete.
      
      
      ndb/include/util/ndb_opts.h:
        Change help info from Ndb.cfg to my.cnf in the header file.
      ndb/test/ndbapi/flexScan.cpp:
        Change help info from Ndb.cfg to my.cnf.
      ndb/tools/ndb_config.cpp:
        Change help info from Ndb.cfg to my.cnf
      27f07d17
  10. 18 Sep, 2006 3 commits
  11. 15 Sep, 2006 5 commits
    • unknown's avatar
      ndb - bug#21941 · a016cd9e
      unknown authored
        Fix so that scans closed before execute are removed from "scans to send list"
      
      
      ndb/include/ndbapi/NdbTransaction.hpp:
        Fix so that scans closed before execute are removed from "scans to send list"
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Fix so that scans closed before execute are removed from "scans to send list"
      ndb/src/ndbapi/NdbTransaction.cpp:
        Fix so that scans closed before execute are removed from "scans to send list"
      a016cd9e
    • unknown's avatar
      BUG#21530 The ndb_mgm management client doesn't set the exit status on errors, making it · 861425a0
      unknown authored
                almost useless for any kind of shell script automation.
                Now add the return value that indicates the execution whether or not success 
                for many methods.
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Many methods add the return value that indicates whether the execution of operatioin succeeds.
        This can make ndb_mgm management client set the exit status on errors.
      861425a0
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · dc8649ba
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      dc8649ba
    • unknown's avatar
      ndb - bug#21756 · 931af319
      unknown authored
        Fix for alter table when node is down...that could cause pain and misery
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Make sure to check table version before retriving from disk
      931af319
    • unknown's avatar
      ndb - bug#21535 · 20e21807
      unknown authored
        review, Fix also master being "old" version
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix also master being "old" version
      20e21807
  12. 14 Sep, 2006 5 commits
    • unknown's avatar
      ndb - bug#21535 · 144cdb47
      unknown authored
        remove accidently left debug code
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        remove accidently left debug code
      144cdb47
    • unknown's avatar
      ndb - bug#21535 · 3b4dd64e
      unknown authored
        send new fragdistkeys to all replicas during node recovery
        to make sure that not 3rd or 4th replicas fragDistKey becomes out of sync
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        new signal UpdateFragDistKeyOrd
      ndb/include/kernel/signaldata/CopyFrag.hpp:
        new signal UpdateFragDistKeyOrd
      ndb/include/ndb_version.h.in:
        online software upgrade for new signal UpdateFragDistKeyOrd
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        new signal UpdateFragDistKeyOrd
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Send noew list of all replicas in copyfragreq
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        new signal UpdateFragDistKeyOrd
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        new signal UpdateFragDistKeyOrd
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        new signal UpdateFragDistKeyOrd
      3b4dd64e
    • unknown's avatar
      BUG#21799 scan time out report temp failures 4008 · cc8b2bd2
      unknown authored
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        set error code to 4008 when a scan time out
      cc8b2bd2
    • unknown's avatar
      BUG#19787 Modify correct message when some important variables are changed but... · 50f0c7cd
      unknown authored
      BUG#19787 Modify correct message when some important variables are changed but cannot be applied by online
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Modify error message when illegal configuration changed.
      50f0c7cd
    • unknown's avatar
      ndb - bug#22195 · ba0d1529
      unknown authored
        also bind client to local host name if specified
      
      
      ndb/src/common/transporter/Transporter.cpp:
        Add binding also of transporter connection (to hostname specified in config file)
      ba0d1529
  13. 13 Sep, 2006 4 commits