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 2017/04/12 09:50:36 UTC

[2/2] ignite git commit: Performance fix attempt

Performance fix attempt


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

Branch: refs/heads/ignite-3477-perf
Commit: 772c8ff764f21e9aa687f21bc5903132940d189e
Parents: 06cee57 5cded42
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Wed Apr 12 12:50:59 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Wed Apr 12 12:50:59 2017 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/GridDhtLocalPartition.java           | 2 +-
 .../cache/distributed/dht/preloader/GridDhtPreloader.java      | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/772c8ff7/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
----------------------------------------------------------------------
diff --cc modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
index 44fd905,44fd905..6b4c2ad
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
@@@ -624,7 -624,7 +624,7 @@@ public class GridDhtLocalPartition exte
              if (markForDestroy())
                  finishDestroy(updateSeq);
          }
--        else
++        else if (partState == RENTING || shouldBeRenting())
              cctx.preloader().evictPartitionAsync(this);
      }