[ 
https://issues.apache.org/jira/browse/IGNITE-15924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446564#comment-17446564
 ] 

Nikolay Izhikov edited comment on IGNITE-15924 at 11/19/21, 4:19 PM:
---------------------------------------------------------------------

Hello [~alexpl].

Can you, please, take a look at my changes?


was (Author: nizhikov):
Hello [~alexpl]pl].

Can you, please, take a look at my changes?

> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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