ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [3/7] ignite git commit: Added initialization of 'storeKeepBinary' flag for cache configurations received on discovery.
Date Thu, 21 Jan 2016 09:31:02 GMT
Added initialization of 'storeKeepBinary' flag for cache configurations received on discovery.


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

Branch: refs/heads/sql-store
Commit: d2f84d1312e8bc22ad43b2e9076b881f0644d509
Parents: ba93717
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Jan 21 11:45:27 2016 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Jan 21 11:45:27 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheProcessor.java  | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d2f84d13/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
index 16dfa7f..7e165e0 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
@@ -1899,6 +1899,13 @@ public class GridCacheProcessor extends GridProcessorAdapter {
             }
             else {
                 for (DynamicCacheChangeRequest req : batch.requests()) {
+                    if (req.startCacheConfiguration() != null) {
+                        CacheConfiguration ccfg = req.startCacheConfiguration();
+
+                        if (ccfg.isStoreKeepBinary() == null)
+                            ccfg.setStoreKeepBinary(CacheConfiguration.DFLT_STORE_KEEP_BINARY);
+                    }
+
                     if (req.template()) {
                         CacheConfiguration ccfg = req.startCacheConfiguration();
 


Mime
View raw message