#At file:///home/jonas/src/telco-6.3/ based on revid:jack@stripped
3001 Jonas Oreland 2009-08-03
ndb - remove blocked/unblocked printout-spam
modified:
storage/ndb/src/common/transporter/Transporter.cpp
=== modified file 'storage/ndb/src/common/transporter/Transporter.cpp'
--- a/storage/ndb/src/common/transporter/Transporter.cpp 2009-07-23 11:47:32 +0000
+++ b/storage/ndb/src/common/transporter/Transporter.cpp 2009-08-03 12:54:45 +0000
@@ -263,8 +263,10 @@ Transporter::connection_refused()
if (m_connection_refused_counter < MIN_CONNECTIONS_REFUSED)
return; // Not blocked yet
+#if 0
if (m_connect_block_end == 0)
- g_eventLogger->info("Connection to %d blocked", remoteNodeId);
+ g_eventLogger->debug("Connection to %d blocked", remoteNodeId);
+#endif
// Calculate time when block should expire, limit to MAX_BLOCK_TIME
m_connect_block_end = NdbTick_CurrentMillisecond() +
@@ -287,7 +289,9 @@ Transporter::is_connect_blocked(void)
if (NdbTick_CurrentMillisecond() > m_connect_block_end)
{
- g_eventLogger->info("Connection to %d unblocked", remoteNodeId);
+#if 0
+ g_eventLogger->debug("Connection to %d unblocked", remoteNodeId);
+#endif
m_connect_block_end = 0;
return false;
}
Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20090803125445-c6t20df0bnuqj9wa.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.3 branch (jonas:3001) | Jonas Oreland | 3 Aug |