[jira] [Created] (IGNITE-9603) Cache proxy flags are not (de)serialized

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-9603) Cache proxy flags are not (de)serialized

Anton Vinogradov (Jira)
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)