code: def lost_master_primary(self):
          
          self.primaries_disconnection_times[self.master_replica.instId] = time.perf_counter()
          self._schedule_view_change()
docs: Schedule an primary connection check which in turn can send a view
          change message