docs: private void completeCommits(long previousCommitIndex, long commitIndex) {
      for (long i = previousCommitIndex + 1; i <= commitIndex; i++) {
        CompletableFuture<Long> future = appendFutures.remove(i);
        if (future != null) {
          future.complete(i);
        }
      }
    }