You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/10 07:12:00 UTC

[jira] [Commented] (GEODE-7944) Unable to deserialize membership id java.io.EOFException on locator only when debug is enabled and native client is used

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

ASF subversion and git services commented on GEODE-7944:
--------------------------------------------------------

Commit 92af070aca9525e3a442715dc7479a2e4d066f76 in geode-native's branch refs/heads/master from Jakov Varenina
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=92af070 ]

GEODE-7944: Fix for QueueConnectionRequest message (#593)


ClientProxyMembershipID correctly encapsulated within QueueConnectionRequest
to avoid "Unable to deserialize membership id java.io.EOFException" on
locator when trying to log recevied ClientProxyMembershipID on debug level


Return type char* of method getDSMemberId() replaced with std::string&

> Unable to deserialize membership id java.io.EOFException on locator only when debug is enabled and native client is used
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7944
>                 URL: https://issues.apache.org/jira/browse/GEODE-7944
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Jakov Varenina
>            Assignee: Jakov Varenina
>            Priority: Major
>             Fix For: 1.13.0
>
>         Attachments: locator.log, native_client.log
>
>
> During the creation of pool in geode native with subscription "enabled" exception java.io.EOFException is thrown on locator only when it is configured with _--log-level=debug_. On geode native this reflects with "No locators available". You can find native_client.log and locator.log in attachment.
> Native client code: 
> {code:java}
> auto cache = cacheFactory.create();
> auto poolFactory = cache.getPoolManager().createFactory();
> auto pool = poolFactory.addLocator("localhost", 10334)
> .setSubscriptionEnabled(true)
> .create("pool");
> {code}
> With java client everything works OK.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)