1. 24 Feb, 2007 1 commit
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpl · db22f9e1
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
      
      
      sql/field.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      mysql-test/t/disabled.def:
        Manual merge
      db22f9e1
  2. 23 Feb, 2007 1 commit
    • unknown's avatar
      the fix for BUG#24432 · 855ac5e8
      unknown authored
        "INSERT... ON DUPLICATE KEY UPDATE skips auto_increment values"
      didn't make it into 5.0.36 and 5.1.16,
      so we need to adjust the bug-detection-based-on-version-number code.
      Because the rpl tree has a too old version, rpl_insert_id cannot pass,
      so I disable it (like is already the case in 5.1-rpl for the same reason),
      and the repl team will re-enable it when they merge 5.0 and 5.1 into
      their trees (thus getting the right version number).
      
      
      mysql-test/t/disabled.def:
            rpl_insert_id tests statement-based replication of INSERT ON
            DUPLICATE KEY UPDATE. This type of INSERT had BUG#24432, which is
            fixed in 5.0.38; we made the slave detect if it is connected to a
            <5.0.38 master and if so refuse to replicate.
            The problem is that this 5.0-rpl tree, even though it will produce
            the 5.0.38 release, still has a 5.0.36 version in configure.in.
            Thus rpl_insert_id fails. So I disable it. As soon as the 5.0-rpl
            tree gets the changesets from the main 5.0, its version will change
            to 5.0.38 and so the repl team will re-enable the test.
      sql/slave.cc:
        the fix for BUG#24432 didn't make it into 5.0.36 and 5.1.16,
        so we need to adjust the bug-detection-based-on-version-number code.
      855ac5e8
  3. 21 Feb, 2007 1 commit
  4. 20 Feb, 2007 1 commit
  5. 19 Feb, 2007 7 commits
    • unknown's avatar
      fix compile error in testBitfield · ff337cb4
      unknown authored
      ff337cb4
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 5781e8e2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      5781e8e2
    • unknown's avatar
      ndb - fix correct argv/argc handling in testBitfield · ca315ba1
      unknown authored
      
      ndb/test/ndbapi/testBitfield.cpp:
        fix correct argv/argc handling in testBitfield
      ca315ba1
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 73977b27
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      73977b27
    • unknown's avatar
      ndb - · 8f1ba667
      unknown authored
        forgott to add testcase for bug#26481
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        forgott to add testcase for bug#26481
      8f1ba667
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 45dea31e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      45dea31e
    • unknown's avatar
      ndb - bug#26481 · de8f751c
      unknown authored
        fix for killed node during initial node restart
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Check cstartRecReq also when refusing GCP_SAVEREQ
      ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase
      de8f751c
  6. 17 Feb, 2007 3 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 3dd7000b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/test/include/NdbRestarter.hpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/test/src/NdbRestarter.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        merge
      3dd7000b
    • unknown's avatar
      ndb - bug#26457 · 7223be24
      unknown authored
        master failure during master take over
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure to clear NF_XX_LCP if master fails during master take-over
      ndb/test/include/NdbRestarter.hpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      ndb/test/src/NdbRestarter.cpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      7223be24
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 268d4718
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      268d4718
  7. 16 Feb, 2007 6 commits
  8. 15 Feb, 2007 2 commits
    • unknown's avatar
      Backport from the Falcon tree. · 29157877
      unknown authored
      When opening/creating the transaction coordinator's log, if binlog is
      used, the tc log is the binlog so we use the binlog's name; otherwise
      we use the mmap-based log, named after the mandatory argument of the
      --log-tc option (meant for that).
      
      
      sql/log.cc:
        fixing wrong order of arguments to my_create()
        (3rd param is the desired modes of the file; "0" lead to no rights
        for anybody on the file).
      sql/mysqld.cc:
        When opening/creating the transaction coordinator's log, if binlog is
        used, the tc log is the binlog so we use the binlog's name; otherwise
        we use the mmap-based log, named after the mandatory argument of the
        --log-tc option (meant for that).
      29157877
    • unknown's avatar
      Fix for BUG#25507 "multi-row insert delayed + auto increment causes · 7185b968
      unknown authored
      duplicate key entries on slave" (two concurrrent connections doing
      multi-row INSERT DELAYED to insert into an auto_increment column,
      caused replication slave to stop with "duplicate key error" (and
      binlog was wrong)), and BUG#26116 "If multi-row INSERT
      DELAYED has errors, statement-based binlogging breaks" (the binlog
      was not accounting for all rows inserted, or slave could stop).
      The fix is that: if (statement-based) binlogging is on, a multi-row
      INSERT DELAYED is silently converted to a non-delayed INSERT.
      Note: it is not possible to test BUG#25507 in 5.0 (requires mysqlslap),
      so it is tested only in the changeset for 5.1. However, BUG#26116
      is tested here, and the fix for BUG#25507 is the same code change.
      
      
      mysql-test/r/innodb-replace.result:
        result update
      mysql-test/t/innodb-replace.test:
        now that multi-row delayed inserts are converted to normal inserts
        if the statement-based binlog is enabled,
        no error is issued even if this engine does not support INSERT DELAYED,
        as the insert does not go through the INSERT DELAYED code.
        To preserve the goal of this test, we change the statements to single-
        row inserts.
      sql/sql_insert.cc:
        A multi-row INSERT DELAYED cannot be recorded to a statement-based
        binlog in a way that describes the insertions actually done;
        in that case we fallback to a non-delayed INSERT.
      mysql-test/r/rpl_insert_delayed.result:
        result. Master and slave match.
      mysql-test/t/rpl_insert_delayed.test:
        Test for BUG#26116 (see if one error at first row on master makes the
        slave's data incorrect, see if one error at second row on master
        makes slave stop).
      7185b968
  9. 14 Feb, 2007 18 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 81d9dce1
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      sql/mysql_priv.h:
        Auto merged
      81d9dce1
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · f8e780f3
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
      
      f8e780f3
    • unknown's avatar
      ndb_config_4_node.ini, ndb_config_1_node.ini: · 928538be
      unknown authored
        new file
      
      928538be
    • unknown's avatar
      backport some mysql-test ndbcluster things from 5.1 · 0b5724df
      unknown authored
          remove compiler warning EventLogger.cpp
          Bug#26176 NdbObjectIdMap::expand unable to expand!! mysqld got signal 11
           - partial fix
           - object map to handle failed realloc
      
      
      
      mysql-test/ndb/ndb_config_2_node.ini:
        backport some mysql-test ndbcluster things from 5.1
      mysql-test/ndb/ndbcluster.sh:
        backport some mysql-test ndbcluster things from 5.1
      ndb/src/common/debugger/EventLogger.cpp:
        remove compiler warning
      ndb/src/ndbapi/ObjectMap.hpp:
        Bug#26176 NdbObjectIdMap::expand unable to expand!! mysqld got signal 11
         - partial fix
         - object map to handle failed realloc
      0b5724df
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca · 9f083d27
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      9f083d27
    • unknown's avatar
      Bug #21033 Error 0 in readAutoIncrementValue() · 02f05e48
      unknown authored
      - do not call function if table has no autoincrement
      
      02f05e48
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-work · c8ca2d91
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        SCCS merged
      c8ca2d91
    • unknown's avatar
      BUG#26358 remove unused and non-working SET_VAR_REQ/CONF signals · b9b2b083
      unknown authored
      remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
      
      Remove the dead SET_VAR_REQ,REF,CONF signals.
      
      They:
      a) don't currently work
      b) will cause confusion with future mgmd updates for
         signal interface to configuration things (e.g. port numbers)
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      b9b2b083
    • unknown's avatar
      BUG#26357 remove unused GSN_STATISTICS_REQ and CONF · 63e75ad9
      unknown authored
      remove GSN_STATISTICS_REQ and CONF
      
      These are unused and have been since BK import. not needed.
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        remove STATISTICS_REQ and CONF
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        remove signal names for STATISTICS_REQ and CONF (unused)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove unused STATISTICS signals
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        remove unused STATISTICS signals
      63e75ad9
    • unknown's avatar
      BUG#26356 uninitialised data sent from TAMPER_ORD to DIHNDBTAMPER · b944b351
      unknown authored
      Don't send uninit data in TAMPER_ORD to DIHNDBTAMPER
      
      Even though this data is unused from the CMVMI (mgmd) signal,
      we shouldn't be doing stuff with uninited data.
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        init the 3rd word of DIHNDBTAMPER before sending to DIH.
      b944b351
    • unknown's avatar
      BUG#26355 FIXME: use constant for max loglevel in ndb_mgmd · 2aa52f6b
      unknown authored
      
      ndb/include/mgmapi/mgmapi.h:
        use constant for max log level in ndb_mgmd.
        
        (more useful in 5.1 due to other defines and refinements of mgmapi)
      ndb/src/mgmsrv/Services.cpp:
        fix the XXX fixme of constant for max log level
      2aa52f6b
    • unknown's avatar
      BUG#26353 remove GET_CONFIG_BACKWARDS_COMPAT from ndb_mgmd · 53eecff3
      unknown authored
      there is backwards compatibility for GET CONFIG style configuration requests in
      ndb_mgmd. None of the ndbd versions that use this couldn't possibly connect to a
      5.0 or 5.1 cluster. remove the backwards compat
      
      remove it
      
      
      ndb/src/mgmsrv/Services.cpp:
        remove MGM_GET_CONFIG_BACKWARDS_COMPAT code.
        
        any client using GET CONFIG will just not work with modern NDB.
      ndb/src/mgmsrv/Services.hpp:
        remove GET CONFIG support
      53eecff3
    • unknown's avatar
      BUG#26352 unused ndb_mgm_rep_command in mgmapi.cpp · 03e9ee02
      unknown authored
      
      ndb/src/mgmapi/mgmapi.cpp:
        remove ndb_mgm_rep_command function
      03e9ee02
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4c314f71
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      4c314f71
    • unknown's avatar
      WL#3704 mgmapi timeouts (and cleanups) · 55516ba5
      unknown authored
      indicate units in SocketOutputStream timeout
      
      rename timeout in SocketOutputStream to reflect units (ms)
      
      In 5.0 as well as is safe cleanup patch that will help with merging.
      
      
      ndb/include/util/OutputStream.hpp:
        rename timeout in SocketOutputStream to reflect units (ms)
      ndb/src/common/util/OutputStream.cpp:
        rename timeout in SocketOutputStream to reflect units (ms)
      55516ba5
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca · 46d676a4
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      46d676a4
    • unknown's avatar
    • unknown's avatar
      Bug#26293 cluster mgmt node sometimes doesn't receive events from all nodes on restart · 695450a8
      unknown authored
      - signals where sometimes sent too early when setting up subscriptions
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        added dump for active subscriptions in cmvmi
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        added dump for active subscriptions in cmvmi
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        bug in that signals where sent prior to api reg conf arrived, causing thrown away signals and subsequent hangs in mgmtserver
        also add retry if node connected but not yet received api reg conf
      ndb/src/ndbapi/ClusterMgr.cpp:
        added status variable m_api_reg_conf in cluster manager to correctly be able to determine if a node is sendable
      ndb/src/ndbapi/ClusterMgr.hpp:
        added status variable m_api_reg_conf in cluster manager to correctly be able to determine if a node is sendable
      ndb/src/ndbapi/SignalSender.cpp:
        assert to see that node is sendable when signal is sent
      ndb/src/ndbapi/SignalSender.hpp:
        manke metchd const
      695450a8