code: def coordinator_dead(self, error):
          
          if self.coordinator_id is not None:
              log.warning("Marking the coordinator dead (node %s) for group %s: %s.",
                          self.coordinator_id, self.group_id, error)
              self.coordinator_id = None
docs: Mark the current coordinator as dead.