[ 
https://issues.apache.org/jira/browse/IGNITE-15924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolay Izhikov reassigned IGNITE-15924:
----------------------------------------

    Assignee: Nikolay Izhikov

> Java thin client: Type name is not cached on client side for 
> OptimizerMarshaller types
> --------------------------------------------------------------------------------------
>
>                 Key: IGNITE-15924
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15924
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alex Plehanov
>            Assignee: Nikolay Izhikov
>            Priority: Major
>              Labels: ise
>
> For JDK marshaller types (for example {{LocalDateTime}} use JDK marshaller) 
> type name, requested by {{{}typeId{}}}, is not cached correctly.
> For example, in this fragment, type name requested twice by thin-client 
> (after each get request), but should be cached after the first request: 
> {code:java}
> try (Ignite srv = Ignition.start(Config.getServerConfiguration())) {
>     srv.cache(Config.DEFAULT_CACHE_NAME).put(1, LocalDateTime.now());
>     try (IgniteClient client = Ignition.startClient(new 
> ClientConfiguration().setAddresses(Config.SERVER))) {
>         client.cache(Config.DEFAULT_CACHE_NAME).get(1);
>         client.cache(Config.DEFAULT_CACHE_NAME).get(1);
>     }
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to