Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Support improved replica point naming with identities #93

Merged
merged 1 commit into from
Dec 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/ringpop-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ function assertFullHashring(t, tc, identities) {
_.times(tc.replicaPoints, function eachReplicaPoint(index) {
var hostPort = member.host + ':' + member.port;

var identity = identityMapping[hostPort] || hostPort;
var identity = identityMapping[hostPort] ? identityMapping[hostPort] + '#' : hostPort;
var replicaPoint = identity + index;
// and add a mapping for the replica-point to the hostPort
mapping[replicaPoint] = hostPort;
Expand Down