def heartbeat(self):
        pipeline = self.conn.pipeline()
        now = time.time()
        for replica in self.replicas:
            pipeline.zadd(self.key, '{start}:{name}'.format(
                start=replica[0],
                name=replica[1]
            ), now)
        ret = pipeline.execute()

        # Only notify the other nodes if we're not in the ring yet.
        if any(ret):
            self._notify()
starting dirs & files:
dataset/ETHPy150Open closeio/redis-hashring/redis_hashring/__init__.py/RingNode.heartbeat--crossover with--dataset/ETHPy150Open kenfar/DataGristle/scripts/tests/test_gristle_dir_merger_cmd.py/TestMatchOnNameAndMd5Extras.test_big_files_with_same_size_but_diff_md5_and_useboth