ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [1/2] ignite git commit: IGNITE-5090 - Removed cache start size
Date Wed, 26 Apr 2017 13:42:11 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5090 [created] a87383d7b


http://git-wip-us.apache.org/repos/asf/ignite/blob/a87383d7/modules/spring/src/test/java/org/apache/ignite/internal/invalid-cache.xml
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/apache/ignite/internal/invalid-cache.xml b/modules/spring/src/test/java/org/apache/ignite/internal/invalid-cache.xml
index 13a0b75..4f7ea55 100644
--- a/modules/spring/src/test/java/org/apache/ignite/internal/invalid-cache.xml
+++ b/modules/spring/src/test/java/org/apache/ignite/internal/invalid-cache.xml
@@ -35,9 +35,6 @@
         http://www.springframework.org/schema/util
         http://www.springframework.org/schema/util/spring-util.xsd">
     <bean id="cache-configuration" class="org.apache.ignite.configuration.CacheConfiguration">
-        <!-- Initial cache size. -->
-        <property name="startSize" value="3000000"/>
-
         <!-- Set synchronous rebalancing (default is asynchronous). -->
         <property name="rebalanceMode" value="SYNC"/>
 
@@ -54,9 +51,6 @@
     </bean>
 
     <bean id="cache-configuration1" class="org.apache.ignite.configuration.CacheConfiguration">
-        <!-- Initial cache size. -->
-        <property name="startSize" value="3000000"/>
-
         <!-- Set synchronous rebalancing (default is asynchronous). -->
         <property name="rebalanceMode" value="SYNC"/>
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/a87383d7/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
index 1fb78b8..0616154 100755
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
@@ -846,7 +846,6 @@ object VisorCacheCommand {
 
         cacheT += ("Write Synchronization Mode", safe(cfg.getWriteSynchronizationMode))
         cacheT += ("Invalidate", bool2Str(cfg.isInvalidate))
-        cacheT += ("Start Size", cfg.getStartSize)
 
         cacheT += ("Affinity Function", safe(affinityCfg.getFunction))
         cacheT += ("Affinity Backups", affinityCfg.getPartitionedBackups)

http://git-wip-us.apache.org/repos/asf/ignite/blob/a87383d7/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoCachesLoadService.java
----------------------------------------------------------------------
diff --git a/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoCachesLoadService.java
b/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoCachesLoadService.java
index b21716c..1e86278 100644
--- a/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoCachesLoadService.java
+++ b/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoCachesLoadService.java
@@ -206,7 +206,6 @@ public class DemoCachesLoadService implements Service {
 
         ccfg.setAffinity(new RendezvousAffinityFunction(false, 32));
         ccfg.setQueryDetailMetricsSize(10);
-        ccfg.setStartSize(100);
         ccfg.setStatisticsEnabled(true);
         ccfg.setSqlFunctionClasses(SQLFunctions.class);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/a87383d7/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoRandomCacheLoadService.java
----------------------------------------------------------------------
diff --git a/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoRandomCacheLoadService.java
b/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoRandomCacheLoadService.java
index c704dbe..e6242fc 100644
--- a/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoRandomCacheLoadService.java
+++ b/modules/web-console/web-agent/src/main/java/org/apache/ignite/console/demo/service/DemoRandomCacheLoadService.java
@@ -111,7 +111,6 @@ public class DemoRandomCacheLoadService implements Service {
 
         ccfg.setAffinity(new RendezvousAffinityFunction(false, 32));
         ccfg.setQueryDetailMetricsSize(10);
-        ccfg.setStartSize(100);
         ccfg.setStatisticsEnabled(true);
         ccfg.setIndexedTypes(Integer.class, Integer.class);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/a87383d7/modules/web/src/test/webapp2/META-INF/ignite-webapp-config.xml
----------------------------------------------------------------------
diff --git a/modules/web/src/test/webapp2/META-INF/ignite-webapp-config.xml b/modules/web/src/test/webapp2/META-INF/ignite-webapp-config.xml
index 9cb2761..09a7848 100644
--- a/modules/web/src/test/webapp2/META-INF/ignite-webapp-config.xml
+++ b/modules/web/src/test/webapp2/META-INF/ignite-webapp-config.xml
@@ -94,9 +94,6 @@
                     <!-- Enable primary sync write mode. -->
                     <property name="writeSynchronizationMode" value="PRIMARY_SYNC"/>
 
-                    <!-- Initial cache size. -->
-                    <property name="startSize" value="1500000"/>
-
                     <!--
                         This shows how to configure number of backups. The below configuration
                         sets the number of backups to 1 (which is default).
@@ -123,9 +120,6 @@
                         <bean class="org.apache.ignite.configuration.NearCacheConfiguration"/>
                     </property>
 
-                    <!-- Initial cache size. -->
-                    <property name="startSize" value="1500000"/>
-
                     <!--
                         Setting this value will cause local node to wait for remote commits.
                         However, it's important to set it this way in the examples as we
assert on
@@ -161,9 +155,6 @@
 
                     <!-- Set synchronous rebalancing (default is asynchronous). -->
                     <property name="rebalanceMode" value="SYNC"/>
-
-                    <!-- Initial cache size. -->
-                    <property name="startSize" value="150000"/>
                 </bean>
 
                 <!--
@@ -175,9 +166,6 @@
 
                     <!-- LOCAL cache mode. -->
                     <property name="cacheMode" value="LOCAL"/>
-
-                    <!-- Initial cache size. -->
-                    <property name="startSize" value="150000"/>
                 </bean>
             </list>
         </property>


Mime
View raw message