shishkovilja commented on code in PR #13386:
URL: https://github.com/apache/ignite/pull/13386#discussion_r3706069454


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheData.java:
##########
@@ -91,109 +102,68 @@ public class CacheData implements Serializable {
         boolean staticCfg,
         boolean sql,
         boolean template,
-        long flags,
         CacheConfigurationEnrichment cacheCfgEnrichment
     ) {
         assert cacheCfg != null;
         assert rcvdFrom != null : cacheCfg.getName();
         assert deploymentId != null : cacheCfg.getName();
-        assert template || cacheId != 0 : cacheCfg.getName();
         assert template || grpId != 0 : cacheCfg.getName();
 
         this.cacheCfg = cacheCfg;
-        this.cacheId = cacheId;
         this.grpId = grpId;
         this.cacheType = cacheType;
         this.deploymentId = deploymentId;
-        this.schema = schema;
+        entitiesMsgs = F.viewReadOnly(schema.entities(), 
QueryEntityMessage::new);

Review Comment:
   Transfromation will be called twice in marshaller and serializer



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to