You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2019/01/23 14:36:24 UTC

[GitHub] ascherbakoff commented on a change in pull request #5887: IGNITE-11023 Processing data bag on GridMarshallerMappingProcessor co…

ascherbakoff commented on a change in pull request #5887: IGNITE-11023 Processing data bag on GridMarshallerMappingProcessor co…
URL: https://github.com/apache/ignite/pull/5887#discussion_r250219545
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
 ##########
 @@ -196,6 +197,11 @@ public void onMappingDataReceived(byte platformId, Map<Integer, MappedName> mars
             int typeId = e.getKey();
             String clsName = e.getValue().className();
 
+            MappedName mappedName = platformCache.get(typeId);
+
+            if (mappedName != null && !F.isEmpty(clsName) && clsName.equals(mappedName.className()))
 
 Review comment:
   There is a logic in mergeAndWriteMapping for checking metadata discrepancies. You should return it back if cached metadata do not match received metadata.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services