docs: private CompletableFuture<QueryResponse> queryLinearizable(Indexed<QueryEntry> entry) {
      return applyQuery(entry)
          .thenComposeAsync(response -> appender.appendEntries()
              .thenApply(index -> response)
              .exceptionally(error -> QueryResponse.builder()
                  .withStatus(RaftResponse.Status.ERROR)
                  .withError(RaftError.Type.QUERY_FAILURE, error.getMessage())
                  .build()), raft.getThreadContext());
    }