You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2018/04/23 07:12:21 UTC
[25/50] [abbrv] ignite git commit: IGNITE-8276 Fixed incorrect
assertion during initialValue - Fixes #3827.
IGNITE-8276 Fixed incorrect assertion during initialValue - Fixes #3827.
Signed-off-by: Alexey Goncharuk <al...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b058bf65
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b058bf65
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b058bf65
Branch: refs/heads/ignite-6083
Commit: b058bf6577bd19bff15307c1e748fb15e9f60445
Parents: 8826fa1
Author: Ilya Lantukh <il...@gridgain.com>
Authored: Wed Apr 18 19:04:39 2018 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Wed Apr 18 19:04:39 2018 +0300
----------------------------------------------------------------------
.../ignite/internal/processors/cache/GridCacheMapEntry.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/b058bf65/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
index a6ef0d2..9f3686a 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
@@ -3571,12 +3571,10 @@ public abstract class GridCacheMapEntry extends GridMetadataAwareAdapter impleme
* @param oldRow Old row if available.
* @throws IgniteCheckedException If update failed.
*/
- protected boolean storeValue(CacheObject val,
+ protected boolean storeValue(@Nullable CacheObject val,
long expireTime,
GridCacheVersion ver,
@Nullable CacheDataRow oldRow) throws IgniteCheckedException {
- assert val != null : "null values in update for key: " + key;
-
return storeValue(val, expireTime, ver, oldRow, null);
}