You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/08/12 14:29:10 UTC
[GitHub] [ignite] killergti commented on a change in pull request #9307: IGNITE-15256 Java Thin: Fix ClassNotFoundException on service call after failover
killergti commented on a change in pull request #9307:
URL: https://github.com/apache/ignite/pull/9307#discussion_r687767263
##########
File path: modules/core/src/main/java/org/apache/ignite/internal/client/thin/TcpIgniteClient.java
##########
@@ -125,6 +126,11 @@ private TcpIgniteClient(ClientConfiguration cfg) throws ClientException {
ch.channelsInit();
ch.addChannelFailListener(metadataHnd::onReconnect);
+ // Binary descriptors and user types caches must be cleared so that the
+ // client will register all the user types within the cluster once again in case this information
+ // was lost during the cluster failover.
+ ch.addChannelFailListener(marshCtx::clearUserTypesCache);
Review comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org