/// <summary> /// 变成随从 /// </summary> /// <param name="state"></param> public void BecomeFollower(CurrentState state) { TxPool.StopCacheTx(); _logger.LogInformation($"{state.Id} became follower"); State = _stateprovider.GetFollower(state); }