Alexey Goncharuk created IGNITE-9603:
----------------------------------------

             Summary: Cache proxy flags are not (de)serialized
                 Key: IGNITE-9603
                 URL: https://issues.apache.org/jira/browse/IGNITE-9603
             Project: Ignite
          Issue Type: Bug
            Reporter: Alexey Goncharuk


The following code will fail with {{ClassNotFoundException}} assuming that 
cache contains a complex object with key {{1}}.

IgniteCache cache = ignite.cache(CACHE_NAME).withKeepBinary();

ignite.compute().broadcast(() -> {
    cache.get(1);
});

The {{withKeepBinary()}} flag is not serialized into the closure and causes the 
{{cache.get(1)}} to attempt to deserialize cache read result.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to