Author: manik.surtani(a)jboss.com
Date: 2007-11-16 14:37:54 -0500 (Fri, 16 Nov 2007)
New Revision: 4766
Modified:
core/branches/1.4.X/src/org/jboss/cache/interceptors/DataGravitatorInterceptor.java
Log:
JBCACHE-1220 - unecessarily verbose logging when there is just one member in the cluster
Modified:
core/branches/1.4.X/src/org/jboss/cache/interceptors/DataGravitatorInterceptor.java
===================================================================
---
core/branches/1.4.X/src/org/jboss/cache/interceptors/DataGravitatorInterceptor.java 2007-11-15
18:07:41 UTC (rev 4765)
+++
core/branches/1.4.X/src/org/jboss/cache/interceptors/DataGravitatorInterceptor.java 2007-11-16
19:37:54 UTC (rev 4766)
@@ -341,7 +341,7 @@
List resps = cache.callRemoteMethods(mbrs, dGrav, GroupRequest.GET_ALL, true,
buddyManager.getBuddyCommunicationTimeout());
if (resps == null)
{
- log.error("No replies to call " + dGrav + ". Perhaps we're
alone in the cluster?");
+ if (mbrs.size() > 1) log.error("No replies to call " + dGrav);
return new Object[]{null, null};
}
else