diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-02 03:12:23 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-07-02 03:12:23 -0400 |
commit | bbf3c93a949b18c31d5a16057c122f3cffa94c35 (patch) | |
tree | a7000a26a451abbf7efcfcc308a245ce8f107069 /src | |
parent | ced7cd5afff2f79b91f364f713d9851038e3b6ab (diff) |
use name_shard/1 instead of obsolete shard_name/2
Diffstat (limited to 'src')
-rw-r--r-- | src/fabric_view_changes.erl | 4 |
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) -> |