Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
5.0.0
-
None
-
Untriaged
-
No
Description
Trivial bug. ns_server uses a bitmask rather than the modulo:
This means that ns_server uses the wrong vbucket for a key if the number of vbuckets is not a power of 2.
Index = Hashed band (NumVBuckets - 1), |
should beĀ
Index = Hashed rem NumVBuckets,
|
Attachments
Issue Links
- relates to
-
MB-19520 couchbase-cli pump rehash only works for powers of two number of vbuckets
- Closed