geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil Bawaskar (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-1803) Inefficient code in ClientMetadataService.getServerToFilterMap()
Date Tue, 25 Oct 2016 07:17:00 GMT

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

Swapnil Bawaskar closed GEODE-1803.
-----------------------------------

> Inefficient code in ClientMetadataService.getServerToFilterMap()
> ----------------------------------------------------------------
>
>                 Key: GEODE-1803
>                 URL: https://issues.apache.org/jira/browse/GEODE-1803
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Bruce Schuchardt
>            Assignee: Bruce Schuchardt
>             Fix For: 1.0.0-incubating
>
>
> This method is using Collections.shuffle(List).get(0) to select a random server when
it would be a lot cheaper to pick a random element from the unshuffled list of server locations.



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

Mime
View raw message