| /redis-3.2.3/src/ |
| H A D | redis-trib.rb | 82 def slots method in ClusterNode 181 slots.each{|s| 234 slots = slots.reduce([]) {|a,b| 245 slots = slots.map{|x| 255 " slots:#{slots} (#{self.slots.length} slots) "+ 383 slots = {} 385 slots = slots.merge(n.slots) 387 slots 444 slots = {} 881 sources = sources.sort{|a,b| b.slots.length <=> a.slots.length} [all …]
|
| H A D | cluster.c | 418 memset(server.cluster->slots,0, sizeof(server.cluster->slots)); in clusterInit() 663 memset(node->slots,0,sizeof(node->slots)); in createClusterNode() 2399 memcpy(hdr->data.update.nodecfg.slots,node->slots,sizeof(node->slots)); in clusterSendUpdate() 3379 bitmapSetBit(n->slots,slot); in clusterNodeSetSlotBit() 3404 bitmapClearBit(n->slots,slot); in clusterNodeClearSlotBit() 3940 zfree(slots); in clusterCommand() 3945 zfree(slots); in clusterCommand() 3949 zfree(slots); in clusterCommand() 3955 zfree(slots); in clusterCommand() 3960 if (slots[j]) { in clusterCommand() [all …]
|
| H A D | cluster.h | 87 unsigned char slots[CLUSTER_SLOTS/8]; /* slots handled by this node */ member 117 clusterNode *slots[CLUSTER_SLOTS]; member 196 unsigned char slots[CLUSTER_SLOTS/8]; /* Slots bitmap. */ member
|
| H A D | dict.c | 1009 unsigned long i, slots = 0, chainlen, maxchainlen = 0; in _dictGetStatsHt() local 1028 slots++; in _dictGetStatsHt() 1052 ht->size, ht->used, slots, maxchainlen, in _dictGetStatsHt() 1053 (float)totchainlen/slots, (float)ht->used/slots); in _dictGetStatsHt()
|
| H A D | sds.c | 796 int elements = 0, slots = 5, start = 0, j; in sdssplitlen() local 801 tokens = s_malloc(sizeof(sds)*slots); in sdssplitlen() 810 if (slots < elements+2) { in sdssplitlen() 813 slots *= 2; in sdssplitlen() 814 newtokens = s_realloc(tokens,sizeof(sds)*slots); in sdssplitlen()
|
| H A D | server.c | 820 unsigned long num, slots; in activeExpireCycle() local 829 slots = dictSlots(db->expires); in activeExpireCycle() 835 if (num && slots > DICT_HT_INITIAL_SIZE && in activeExpireCycle() 836 (num*100/slots < 1)) break; in activeExpireCycle()
|
| /redis-3.2.3/tests/support/ |
| H A D | cluster.tcl | 100 set slots [lrange $args 8 end] 118 slots $slots \ 136 foreach slotrange [dict get $node slots] {
|
| /redis-3.2.3/deps/jemalloc/bin/ |
| H A D | jeprof.in | 3552 my $slots = $self->{slots}; 3597 my $slots = $self->{slots}; 3624 @$slots = @b64_values; 3631 my $slots = $self->{slots}; 3632 while ($#$slots >= 0) { 3850 if ($slots->get(0) != 0 ) { 3853 $i = 2 + $slots->get(1); 3854 $version = $slots->get(2); 3855 $period = $slots->get(3); 3863 my $n = $slots->get($i++); [all …]
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | sds.c | 796 int elements = 0, slots = 5, start = 0, j; in sdssplitlen() local 801 tokens = s_malloc(sizeof(sds)*slots); in sdssplitlen() 810 if (slots < elements+2) { in sdssplitlen() 813 slots *= 2; in sdssplitlen() 814 newtokens = s_realloc(tokens,sizeof(sds)*slots); in sdssplitlen()
|
| /redis-3.2.3/tests/cluster/tests/ |
| H A D | 04-resharding.tcl | 78 --slots 100 \
|
| /redis-3.2.3/tests/cluster/ |
| H A D | cluster.tcl | 24 slots [lrange $args 8 -1] \
|
| /redis-3.2.3/ |
| H A D | 00-RELEASENOTES | 808 | Cluster: don't check scripts key slots during AOF loading. 884 | Cluster test 12: reshard back just a few slots to speedup the test. 955 | Ensure slots are rechecked on EXEC. 1148 1/5 of all the cluster slots from master 0 to the other 4 masters and 1155 | New masters with slots are now targets of migration if others are. 1162 Before this fix, after a complete resharding of a master slots 1614 open slots. Redis-trib and other cluster management utility must 1615 always be free to move keys between nodes about open slots, in order
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lua_cjson.c | 1121 static void json_decode_descend(lua_State *l, json_parse_t *json, int slots) in json_decode_descend() argument 1126 lua_checkstack(l, slots)) { in json_decode_descend()
|