remotes());
if (!logDir.exists() && !logDir.mkdirs())
logger.warn("failed to create directories for storing logs, bad things will happen");
StateMachine stateMachine = new StateMachine() {
int i = 0;
@Override
public Object applyOperation(@Nonnull ByteBuffer entry) {
return i++;