summaryrefslogtreecommitdiff
path: root/client/nirvana_conhash.cpp
diff options
context:
space:
mode:
author[email protected] <[email protected]>2021-07-19 17:21:38 +0800
committer[email protected] <[email protected]>2021-07-19 17:21:38 +0800
commit16a47fc07f454dd90e0b86a469799869b62c2794 (patch)
treef6008d76d707890bb7e7405435aa7e50f7f8fd5f /client/nirvana_conhash.cpp
parent26b1a0850061a6fad963772991abcd6303cd50f3 (diff)
支持https;适应版本跳跃;增加md5校验;
Diffstat (limited to 'client/nirvana_conhash.cpp')
-rw-r--r--client/nirvana_conhash.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/nirvana_conhash.cpp b/client/nirvana_conhash.cpp
index 9a95403..99674fd 100644
--- a/client/nirvana_conhash.cpp
+++ b/client/nirvana_conhash.cpp
@@ -348,6 +348,7 @@ enum CONHASH_ERRCODE conhash_insert_bucket(struct consistent_hash *ch, const str
}
inner_bucket->bucket.bucket_id = bucket->bucket_id;
inner_bucket->bucket.tag = bucket->tag;
+ inner_bucket->bucket_index = bucket_index;
if(CONHASH_OK != (code=conhash_add_points(ch, inner_bucket, bucket->point_num)))
{