Browse files

Added node() to key prefix.

  • Loading branch information...
1 parent f9b64f0 commit 4286aa91c4e102934f16e24dd9ba9d1249e17bf7 @cstar cstar committed Dec 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 riak_redis_backend.erl
View
2 riak_redis_backend.erl
@@ -29,7 +29,7 @@
% {ok, state()} | {{error, Reason :: term()}, state()}
start(Partition)->
{ok, Pid} = erldis_sync_client:connect(),
- P=list_to_binary(integer_to_list(Partition)),
+ P=list_to_binary(atom_to_list(node()) ++ integer_to_list(Partition)),
{ok, #state{pid=Pid, partition = P}}.
% @spec stop(state()) -> ok | {error, Reason :: term()}

0 comments on commit 4286aa9

Please sign in to comment.