You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Udo Kohlmeyer (JIRA)" <ji...@apache.org> on 2016/09/28 18:59:20 UTC

[jira] [Updated] (GEODE-1936) native-client-software-grant - ClientMetadata::getServerLocation is returning a primary BucketServerLocationPtr instead of a secondary

     [ https://issues.apache.org/jira/browse/GEODE-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Kohlmeyer updated GEODE-1936:
---------------------------------
    Component/s:     (was: client/server)
                 native client

> native-client-software-grant - ClientMetadata::getServerLocation is returning a primary BucketServerLocationPtr instead of a secondary
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-1936
>                 URL: https://issues.apache.org/jira/browse/GEODE-1936
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Daniel Farcovich
>
> In the cpp client code geode-client-native\src\cppcache\impl\ClientMetadata.cpp  a pointer to a primary BucketServerLocationPtr can be returned when asking for a secondary. The returned BucketServerLocationPtr is a randomization between [0, m_bucketServerLocationsList[bucketId].size()-1] where the result can be a primary copy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)