ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [11/15] ignite git commit: ignite-gg-12163 constant renamed for name consistency reasons
Date Mon, 22 May 2017 17:44:34 GMT
ignite-gg-12163 constant renamed for name consistency reasons


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

Branch: refs/heads/ignite-5267
Commit: a760e6e72a716f59a0110954c1efb665215cfcaf
Parents: f3bb474
Author: Sergey Chugunov <sergey.chugunov@gmail.com>
Authored: Mon May 22 15:56:58 2017 +0300
Committer: Sergey Chugunov <sergey.chugunov@gmail.com>
Committed: Mon May 22 15:56:58 2017 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/IgniteSystemProperties.java    |  2 +-
 .../cache/database/GridCacheDatabaseSharedManager.java    |  4 ++--
 .../db/file/IgniteWalHistoryReservationsSelfTest.java     | 10 +++++-----
 3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a760e6e7/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java b/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java
index 3842d9b..9d368a3 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java
@@ -613,7 +613,7 @@ public final class IgniteSystemProperties {
     /**
      * WAL rebalance threshold.
      */
-     public static final String IGNITE_WAL_REBALANCE_THRESHOLD = "IGNITE_WAL_REBALANCE_THRESHOLD";
+     public static final String IGNITE_PDS_WAL_REBALANCE_THRESHOLD = "IGNITE_PDS_WAL_REBALANCE_THRESHOLD";
 
     /** Returns true for system properties only avoiding sending sensitive information. */
     private static final IgnitePredicate<Map.Entry<String, String>> PROPS_FILTER
= new IgnitePredicate<Map.Entry<String, String>>() {

http://git-wip-us.apache.org/repos/asf/ignite/blob/a760e6e7/modules/pds/src/main/java/org/apache/ignite/internal/processors/cache/database/GridCacheDatabaseSharedManager.java
----------------------------------------------------------------------
diff --git a/modules/pds/src/main/java/org/apache/ignite/internal/processors/cache/database/GridCacheDatabaseSharedManager.java
b/modules/pds/src/main/java/org/apache/ignite/internal/processors/cache/database/GridCacheDatabaseSharedManager.java
index 0ea8b68..c1fed9f 100755
--- a/modules/pds/src/main/java/org/apache/ignite/internal/processors/cache/database/GridCacheDatabaseSharedManager.java
+++ b/modules/pds/src/main/java/org/apache/ignite/internal/processors/cache/database/GridCacheDatabaseSharedManager.java
@@ -129,7 +129,7 @@ import org.jetbrains.annotations.Nullable;
 
 import static org.apache.ignite.IgniteSystemProperties.IGNITE_PDS_PARTITION_DESTROY_CHECKPOINT_DELAY;
 import static org.apache.ignite.IgniteSystemProperties.IGNITE_PDS_SKIP_CRC;
-import static org.apache.ignite.IgniteSystemProperties.IGNITE_WAL_REBALANCE_THRESHOLD;
+import static org.apache.ignite.IgniteSystemProperties.IGNITE_PDS_WAL_REBALANCE_THRESHOLD;
 
 /**
  *
@@ -151,7 +151,7 @@ public class GridCacheDatabaseSharedManager extends IgniteCacheDatabaseSharedMan
 
     /** */
     private final int ggWalRebalanceThreshold = IgniteSystemProperties.getInteger(
-        IGNITE_WAL_REBALANCE_THRESHOLD, 500_000);
+        IGNITE_PDS_WAL_REBALANCE_THRESHOLD, 500_000);
 
     /** Checkpoint lock hold count. */
     private static final ThreadLocal<Integer> CHECKPOINT_LOCK_HOLD_COUNT = new ThreadLocal<Integer>()
{

http://git-wip-us.apache.org/repos/asf/ignite/blob/a760e6e7/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalHistoryReservationsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalHistoryReservationsSelfTest.java
b/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalHistoryReservationsSelfTest.java
index e241085..73d6feb 100644
--- a/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalHistoryReservationsSelfTest.java
+++ b/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalHistoryReservationsSelfTest.java
@@ -39,7 +39,7 @@ import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 
-import static org.apache.ignite.IgniteSystemProperties.IGNITE_WAL_REBALANCE_THRESHOLD;
+import static org.apache.ignite.IgniteSystemProperties.IGNITE_PDS_WAL_REBALANCE_THRESHOLD;
 
 /**
  *
@@ -87,7 +87,7 @@ public class IgniteWalHistoryReservationsSelfTest extends GridCommonAbstractTest
 
     /** {@inheritDoc} */
     @Override protected void afterTest() throws Exception {
-        System.clearProperty(IGNITE_WAL_REBALANCE_THRESHOLD);
+        System.clearProperty(IGNITE_PDS_WAL_REBALANCE_THRESHOLD);
 
         client = false;
 
@@ -100,7 +100,7 @@ public class IgniteWalHistoryReservationsSelfTest extends GridCommonAbstractTest
      * @throws Exception If failed.
      */
     public void testReservedOnExchange() throws Exception {
-        System.setProperty(IGNITE_WAL_REBALANCE_THRESHOLD, "0");
+        System.setProperty(IGNITE_PDS_WAL_REBALANCE_THRESHOLD, "0");
 
         final int entryCnt = 10_000;
         final int initGridCnt = 4;
@@ -196,7 +196,7 @@ public class IgniteWalHistoryReservationsSelfTest extends GridCommonAbstractTest
      * @throws Exception If failed.
      */
     public void testRemovesArePreloadedIfHistoryIsAvailable() throws Exception {
-        System.setProperty(IGNITE_WAL_REBALANCE_THRESHOLD, "0");
+        System.setProperty(IGNITE_PDS_WAL_REBALANCE_THRESHOLD, "0");
 
         int entryCnt = 10_000;
 
@@ -287,7 +287,7 @@ public class IgniteWalHistoryReservationsSelfTest extends GridCommonAbstractTest
      * @throws Exception If failed.
      */
     public void testNodeLeftDuringExchange() throws Exception {
-        System.setProperty(IGNITE_WAL_REBALANCE_THRESHOLD, "0");
+        System.setProperty(IGNITE_PDS_WAL_REBALANCE_THRESHOLD, "0");
 
         final int entryCnt = 10_000;
         final int initGridCnt = 4;


Mime
View raw message