Author: manik.surtani(a)jboss.com
Date: 2007-10-20 12:46:45 -0400 (Sat, 20 Oct 2007)
New Revision: 4654
Modified:
core/trunk/src/main/java/org/jboss/cache/CacheImpl.java
Log:
JBCACHE-1198 Make PFER failures quieter on remote nodes
Modified: core/trunk/src/main/java/org/jboss/cache/CacheImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/CacheImpl.java 2007-10-20 14:28:09 UTC (rev
4653)
+++ core/trunk/src/main/java/org/jboss/cache/CacheImpl.java 2007-10-20 16:46:45 UTC (rev
4654)
@@ -2836,8 +2836,14 @@
}
catch (Throwable ex)
{
- log.warn("replication failure with method_call " + method_call +
" exception", ex);
- throw ex;
+ if (method_call.getMethodId() !=
MethodDeclarations.putForExternalReadMethodLocal_id
+ || method_call.getMethodId() !=
MethodDeclarations.putForExternalReadVersionedMethodLocal_id )
+ {
+ if (log.isWarnEnabled()) log.warn("replication failure with method_call
" + method_call + " exception", ex);
+ throw ex;
+ }
+ else return null;
+
}
}
Show replies by date