[
https://issues.apache.org/jira/browse/IGNITE-15924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447242#comment-17447242
]
Nikolay Izhikov commented on IGNITE-15924:
------------------------------------------
Cherry-picked to 2.12.
> 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: 20m
> 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)