You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2016/10/06 08:17:20 UTC

[jira] [Closed] (SINGA-141) Undesired Hash collision when locating process id to workers and servers

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

wangwei closed SINGA-141.
-------------------------
    Resolution: Fixed
      Assignee: Wang Ji

> Undesired Hash collision when locating process id to workers and servers
> ------------------------------------------------------------------------
>
>                 Key: SINGA-141
>                 URL: https://issues.apache.org/jira/browse/SINGA-141
>             Project: Singa
>          Issue Type: Bug
>         Environment: universal
>            Reporter: Wang Ji
>            Assignee: Wang Ji
>
> Undesired Hash collision may happen when locating process id to workers and servers using `int Cluster::Hash(int gid, int id, int flag)` in `cluster.cc`.
> For example, let us assume that there are 2 worker groups and 2 workers per group and 1 server in 1 server group, and we separate server and worker in different processes. Hash(1,0,0) and Hash(0,0,2) will get the undesired same value 2.



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