Home
last modified time | relevance | path

Searched refs:ClusterHashSlots (Results 1 – 1 of 1) sorted by relevance

/redis-3.2.3/src/
H A Dredis-trib.rb27 ClusterHashSlots = 16384 constant
393 if slots.length == ClusterHashSlots
394 xputs "[OK] All #{ClusterHashSlots} slots covered."
397 "[ERR] Not all #{ClusterHashSlots} slots are covered by nodes."
436 not_covered = (0...ClusterHashSlots).to_a - covered_slots.keys
705 slots_per_node = ClusterHashSlots.to_f / masters_count
710 if last > ClusterHashSlots || masternum == masters.length-1
711 last = ClusterHashSlots-1
1033 expected = ((ClusterHashSlots.to_f / total_weight) *
1160 while numslots <= 0 or numslots > ClusterHashSlots
[all …]