ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [34/50] [abbrv] incubator-ignite git commit: sprint-2 - Marshaller fix
Date Fri, 27 Mar 2015 10:42:18 GMT
sprint-2 - Marshaller fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/988b6b91
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/988b6b91
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/988b6b91

Branch: refs/heads/ignite-443
Commit: 988b6b914a9033c3c08023644e792ba39f1f034a
Parents: 756f3e6
Author: Valentin Kulichenko <vkulichenko@gridgain.com>
Authored: Thu Mar 26 21:31:26 2015 -0700
Committer: Valentin Kulichenko <vkulichenko@gridgain.com>
Committed: Thu Mar 26 21:31:26 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/MarshallerContextImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/988b6b91/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
index fa2ae16..67d703f 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
@@ -77,7 +77,7 @@ public class MarshallerContextImpl extends MarshallerContextAdapter {
             return true;
         }
         catch (CachePartialUpdateCheckedException | GridCacheTryPutFailedException e) {
-            if (failedCnt++ >= 10)
+            if (++failedCnt > 10)
                 U.warn(log, e, "Marshaller failed to register class for more than 10 times
" +
                     "(this can cause performance degradation).");
 


Mime
View raw message