def msg_update(self, conn, msg):
        """a replica needs to be updated on the set of past decisions, send caller's decisions"""
        # This should be done only if it has not been done recently.
        with self.recentlyupdatedpeerslock:
            if msg.source in self.recentlyupdatedpeers:
                return
        updatereplymessage = create_message(MSG_UPDATEREPLY, self.me,
                                            {FLD_DECISIONS: self.decisions})
        conn.send(updatereplymessage)
        with self.recentlyupdatedpeerslock:
            self.recentlyupdatedpeers.append(msg.source)
dataset/ETHPy150Open denizalti/concoord/concoord/replica.py/Replica.msg_update/original