

def add_node(self, key):
    for i in range(self.replica_count):
        replica_key = ('%s:%d' % (key, entry))
        position = self.compute_ring_position(replica_key)
        entry = (position, key)
        bisect.insort(self.ring, entry)

dataset/ETHPy150Open tmm1/graphite/webapp/graphite/render/hashing.py ConsistentHashRing.add_node/VarMisuse@32/43 `i`->`entry`