summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fabric_view_changes.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric_view_changes.erl b/src/fabric_view_changes.erl
index f6989061..3e8339bd 100644
--- a/src/fabric_view_changes.erl
+++ b/src/fabric_view_changes.erl
@@ -203,8 +203,8 @@ unpack_seqs("0", DbName) ->
unpack_seqs(Packed, DbName) ->
% TODO relies on internal structure of fabric_dict as keylist
lists:map(fun({Node, [A,B], Seq}) ->
- Name = partitions:shard_name(A, DbName),
- {#shard{node=Node, range=[A,B], dbname=DbName, name=Name}, Seq}
+ Shard = #shard{node=Node, range=[A,B], dbname=DbName},
+ {mem3_util:name_shard(Shard), Seq}
end, binary_to_term(couch_util:decodeBase64Url(Packed))).
start_update_notifiers(DbName) ->