1. 22 Jul, 2005 1 commit
    • unknown's avatar
      WL#2347 - Load independent heartbeats · f4b56000
      unknown authored
      Reset missed heartbeat count on receipt of signal from node.
      
      This fixes a bug where that under high network load, the heartbeat packets could be
      delayed, causing the appearance of node failure (due to lost heartbeats).
      
      
      ndb/include/kernel/NodeInfo.hpp:
        Add m_heartbeat_cnt to track missed heartbeats
      ndb/include/transporter/TransporterCallback.hpp:
        add prototype for transporter_recv_from()
        
        Called on receipt from a node.
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Add calls to transporter_receive_from when data is received (before unpack)
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        remove NodeRec::alarmCount. missed heartbeat count now kept in NodeInfo
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Use NodeInfo::m_heartbeat_cnt for missed heartbeat count
      ndb/src/kernel/vm/TransporterCallback.cpp:
        add transporter_recv_from(), which is called on receipt of signals.
        It resets missed heartbeat count for that node.
      ndb/src/ndbapi/ClusterMgr.cpp:
        Use NodeInfo::m_heartbeat_cnt for missed heartbeat count
      ndb/src/ndbapi/ClusterMgr.hpp:
        Use NodeInfo::m_heartbeat_cnt instead of ClusterMgr::Node::hbSent for missed
        heartbeat count.
        
        We now use the same storage for API and Kernel heartbeats.
        
        Add ClusterMgr::hb_received(nodeId) to reset hbSent (as if we received a heartbeat,
        but callable from elsewhere - e.g. when signal received)
      ndb/src/ndbapi/TransporterFacade.cpp:
        Implement transporter_recv_from for ndbapi - which resets hbSent
      ndb/src/ndbapi/TransporterFacade.hpp:
        Add hb_received(nodeId)
      f4b56000
  2. 21 Jul, 2005 19 commits
  3. 20 Jul, 2005 20 commits
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1-build · f3b94359
      unknown authored
      into mysql.com:/space/my/mysql-5.0-build
      
      
      scripts/Makefile.am:
        Auto merged
      support-files/Makefile.am:
        Auto merged
      f3b94359
    • unknown's avatar
      - Manually merged fixes for BUG#12057 (*.plist (Mac OS X) files are installed on Linux) · 40a779e9
      unknown authored
      
      support-files/MacOSX/Makefile.am:
        Auto merged
      scripts/Makefile.am:
        - manual merge
      support-files/Makefile.am:
        - manual merge
      40a779e9
    • unknown's avatar
      Bug #10600 After review fixes · af1dfb61
      unknown authored
      
      sql/lock.cc:
        Used flags immediately in call
      sql/mysql_priv.h:
        Added RTFC (short for remove_table_from_cache)
        for constants and used hex syntax to clarify it is bits
        in the flags
      sql/sql_base.cc:
        Use flags parameter immediately and use flags immediately in call
        Change to other variant of eternal loop variant
      sql/sql_table.cc:
        Use flags immediately in call
      af1dfb61
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 1ef3c696
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      1ef3c696
    • unknown's avatar
      Fix date conversion on 32-bit machines. · 8607be22
      unknown authored
      
      sql/field.cc:
        Fix type of temporary variables for handling result of
        number_to_datetime().
      8607be22
    • unknown's avatar
      - don't install the Mac OS X support files when running "make install" - · d207bd81
      unknown authored
        they're not needed outside of the source tree (BUG#12057)
      - Removed some more unneeded files from "make install" along the way
      
      
      scripts/Makefile.am:
        - don't install the following files with "make install", as they are
          not needed to be installed: 
          make_win_src_distribution, make_win_binary_distribution,
          make_binary_distribution, make_sharedlib_distribution
      support-files/MacOSX/Makefile.am:
        - don't install the Mac OS X support files when running "make install" -
          they're not needed outside of the source tree (BUG#12057)
      support-files/Makefile.am:
        - don't install the RPM spec files with "make install" - they are not
          needed outside of the source tree
      d207bd81
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · bf4dfde9
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      bf4dfde9
    • unknown's avatar
      Bug #12055 NDB temp tables created by ALTER TABLE are usable · 1145f448
      unknown authored
      - do not discover temporary files and make them visible
      
      
      1145f448
    • unknown's avatar
      Upgraded the version number, as 5.0.10 is cloned off. · 45a43c21
      unknown authored
      This push includes the clone tag.
      
      
      configure.in:
        Upgraded the version number, as 5.0.10 is cloned off.
      45a43c21
    • unknown's avatar
      Implement MySQL framework to support consistent read views in · ec55fec9
      unknown authored
      cursors. This should fix Bug#11813 when InnoDB part is in 
      (tested with a draft patch).
      The idea of the patch is that if a storage engine supports
      consistent read views, we open one when open a cursor,
      set is as the active view when fetch from the cursor, and close
      together with cursor close.
      
      
      sql/examples/ha_archive.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/examples/ha_example.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/examples/ha_tina.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_berkeley.cc:
        - extend handlerton with cursors methods
      sql/ha_blackhole.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_federated.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_heap.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_innodb.cc:
        - extend handlerton with cursors methods
      sql/ha_myisam.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_myisammrg.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_ndbcluster.cc:
        - extend handlerton with cursors methods
      sql/handler.h:
        - extend handlerton with cursors methods
      sql/sql_select.cc:
        - create a consistent read view when we open a cursor,
          set it for a fetch, and free when we closing the cursor.
      sql/sql_select.h:
        - add Cursor::ht_info to remember read views used in a cursor.
      tests/mysql_client_test.c:
        Disable an assert that will be no longer valid when consistent
        read views in InnoDB are used.
      ec55fec9
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 570cfc8e
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      570cfc8e
    • unknown's avatar
      merge · fa22e389
      unknown authored
      fa22e389
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7f984b92
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      7f984b92
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-4.1 · 21038e65
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-4.1
      
      
      tests/mysql_client_test.c:
        Auto merged
      21038e65
    • unknown's avatar
      cs fixes from last commit · 6147be6e
      unknown authored
      6147be6e
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · fcb48236
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      fcb48236
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 6708dbdb
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp:
        Auto merged
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      ndb/test/ndbapi/testBackup.cpp:
        Auto merged
      ndb/test/ndbapi/testNdbApi.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/tools/drop_index.cpp:
        Auto merged
      ndb/tools/listTables.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        merge
      ndb/src/ndbapi/ndberror.c:
        merge
      ndb/test/include/HugoOperations.hpp:
        merge
      ndb/test/src/HugoOperations.cpp:
        merge
      6708dbdb
    • unknown's avatar
      bug#11942 - ndb backup · fe073647
      unknown authored
        fix error code to avoid clash with 5.0/5.1
      
      
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/include/kernel/signaldata/DropTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/src/ndbapi/ndberror.c:
        Change error codes to remove clash from 5.0
      fe073647
    • unknown's avatar
      bug#11942 - ndb backup with parallell DDL · e071abac
      unknown authored
        add testcase to autotest
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        remove ;
      ndb/test/run-test/daily-basic-tests.txt:
        add test case
      e071abac
    • unknown's avatar
      Added some missing casts and changed a define for alloca(). · 44589256
      unknown authored
      
      client/mysqldump.c:
        Added casts.
      include/my_sys.h:
        Define for alloca() changed for Metrowerks compiler.
      myisam/rt_split.c:
        Added cast.
      44589256