summaryrefslogtreecommitdiff
path: root/storage/ndb/src/mgmsrv
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-05-09 15:04:45 +0200
committerunknown <tomas@whalegate.ndb.mysql.com>2007-05-09 15:04:45 +0200
commit3d78e6fcd3b99c69416893a30e991aeb51eb6763 (patch)
treef85d2cb94b5ab6413479f4fd018b84476e61acec /storage/ndb/src/mgmsrv
parent495c6fcea80f6b64791a54ea9f18db0f7ed7b0ba (diff)
parent198a7991c0738ea4ffbca828aa683020bb6243be (diff)
downloadmariadb-git-3d78e6fcd3b99c69416893a30e991aeb51eb6763.tar.gz
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user storage/ndb/include/ndbapi/NdbRecAttr.hpp: Auto merged storage/ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged storage/ndb/src/ndbapi/ClusterMgr.cpp: Auto merged storage/ndb/src/ndbapi/ClusterMgr.hpp: Auto merged storage/ndb/src/ndbapi/NdbRecAttr.cpp: manual merge
Diffstat (limited to 'storage/ndb/src/mgmsrv')
-rw-r--r--storage/ndb/src/mgmsrv/MgmtSrvr.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
index dde6829c82c..f84c79b704f 100644
--- a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
@@ -628,6 +628,16 @@ MgmtSrvr::start(BaseString &error_string)
ndbout_c("This is probably a bug.");
}
+ /*
+ set api reg req frequency quite high:
+
+ 100 ms interval to make sure we have fairly up-to-date
+ info from the nodes. This to make sure that this info
+ is not dependent on heart beat settings in the
+ configuration
+ */
+ theFacade->theClusterMgr->set_max_api_reg_req_interval(100);
+
TransporterRegistry *reg = theFacade->get_registry();
for(unsigned int i=0;i<reg->m_transporter_interface.size();i++) {
BaseString msg;