You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alex Plehanov (Jira)" <ji...@apache.org> on 2021/11/16 13:55:00 UTC
[jira] [Created] (IGNITE-15924) Java thin client: Type name is not cached on client side for OptimizerMarshaller types
Alex Plehanov created IGNITE-15924:
--------------------------------------
Summary: 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
For JDK marshaller types (for example {{LocalDateTime}} use JDK marshaller) requested by {{typeId}} type name 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)