The repetition seems to militate in favour of encapsulating in a method in `RaftLog`