You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dg...@apache.org on 2019/08/12 11:53:58 UTC

[ignite] 01/02: IGNITE-11982 revert part of batch fixes commit, will be merged in another issue.

This is an automated email from the ASF dual-hosted git repository.

dgovorukhin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit e6615a7a3ea1d524f79a7f1f09ad754726e8b075
Author: Dmitriy Govorukhin <dm...@gmail.com>
AuthorDate: Mon Aug 12 14:49:31 2019 +0300

    IGNITE-11982 revert part of batch fixes commit, will be merged in another issue.
---
 .../internal/processors/cache/IgniteCacheOffheapManagerImpl.java      | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java
index 57cca44..ac08189 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java
@@ -1614,10 +1614,6 @@ public class IgniteCacheOffheapManagerImpl implements IgniteCacheOffheapManager
 
             int oldLen = oldRow.size();
 
-            // Use grp.sharedGroup() flag since it is possible cacheId is not yet set here.
-            if (!grp.storeCacheIdInDataPage() && grp.sharedGroup() && oldRow.cacheId() != CU.UNDEFINED_CACHE_ID)
-                oldLen -= 4;
-
             if (oldLen > updateValSizeThreshold)
                 return false;