Replay replays a write log from other peer to replicate storage state.
(req *types.Request, resp *types.Response)
| 703 | |
| 704 | // Replay replays a write log from other peer to replicate storage state. |
| 705 | func (s *State) Replay(req *types.Request, resp *types.Response) (err error) { |
| 706 | return s.ReplayWithContext(context.Background(), req, resp) |
| 707 | } |
| 708 | |
| 709 | // ReplayWithContext replays a write log from other peer to replicate storage state with context. |
| 710 | func (s *State) ReplayWithContext( |