couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [04/33] rexi commit: updated refs/heads/master to bbf59a2
Date Thu, 28 Aug 2014 12:23:14 GMT
Use the unadulterated node name in server name

BugzID: 18215


Project: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/commit/ad795911
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/tree/ad795911
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/diff/ad795911

Branch: refs/heads/master
Commit: ad795911100283df6740647492373b3377fc27bf
Parents: 752921b
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Thu Apr 11 08:10:20 2013 -0400
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Jul 23 17:57:10 2014 +0100

----------------------------------------------------------------------
 src/rexi_utils.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-rexi/blob/ad795911/src/rexi_utils.erl
----------------------------------------------------------------------
diff --git a/src/rexi_utils.erl b/src/rexi_utils.erl
index b87f2c3..ced0ca3 100644
--- a/src/rexi_utils.erl
+++ b/src/rexi_utils.erl
@@ -18,7 +18,7 @@
 server_id(Node) ->
     case config:get("rexi", "server_per_node", "false") of
     "true" ->
-        list_to_atom("rexi_server_" ++ integer_to_list(erlang:phash2(Node)));
+        list_to_atom("rexi_server_" ++ atom_to_list(Node));
     _ ->
         rexi_server
     end.


Mime
View raw message