ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [17/26] ignite git commit: GG-12347 restoring binary metadata at correct moment of ObjectBinaryProcessor startup process
Date Wed, 28 Jun 2017 06:10:37 GMT
GG-12347 restoring binary metadata at correct moment of ObjectBinaryProcessor startup process


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

Branch: refs/heads/ignite-2.1.2-exchange
Commit: 4adfca9dcbbb8709744dce5a986e193ba4015eb1
Parents: 1d88bec
Author: Sergey Chugunov <sergey.chugunov@gmail.com>
Authored: Tue Jun 27 17:04:16 2017 +0300
Committer: Sergey Chugunov <sergey.chugunov@gmail.com>
Committed: Tue Jun 27 17:04:16 2017 +0300

----------------------------------------------------------------------
 .../processors/cache/binary/CacheObjectBinaryProcessorImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4adfca9d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
index 329c50e..c2c71ea 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
@@ -148,8 +148,6 @@ public class CacheObjectBinaryProcessorImpl extends IgniteCacheObjectProcessorIm
 
             metadataFileStore = new BinaryMetadataFileStore(metadataLocCache, ctx, log);
 
-            metadataFileStore.restoreMetadata();
-
             transport = new BinaryMetadataTransport(metadataLocCache, metadataFileStore,
ctx, log);
 
             BinaryMetadataHandler metaHnd = new BinaryMetadataHandler() {
@@ -231,6 +229,8 @@ public class CacheObjectBinaryProcessorImpl extends IgniteCacheObjectProcessorIm
                     ctx.addNodeAttribute(IgniteNodeAttributes.ATTR_BINARY_CONFIGURATION,
map);
                 }
             }
+
+            metadataFileStore.restoreMetadata();
         }
     }
 


Mime
View raw message