You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "Wang Ji (JIRA)" <ji...@apache.org> on 2016/01/25 10:34:39 UTC

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

Wang Ji created SINGA-141:
-----------------------------

             Summary: 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


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)