ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/3] ignite git commit: Added initialization of 'storeKeepBinary' flag for cache configurations received on discovery. (cherry picked from commit d2f84d1)
Date Thu, 21 Jan 2016 09:39:57 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1.5.4 d5a5f6aa8 -> dc261786d


Added initialization of 'storeKeepBinary' flag for cache configurations received on discovery.
(cherry picked from commit d2f84d1)


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

Branch: refs/heads/ignite-1.5.4
Commit: 0222978a64e00b015a3e0f737ba9a96c72d5f0fe
Parents: d5a5f6a
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Jan 21 11:45:27 2016 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Jan 21 12:29:56 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/0222978a/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 bf77ccf..5dabbef 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