`org.elasticsearch.action.search.AbstractSearchAsyncAction#clusterState` is almost entirely unused, except for one trace log message and one call to `org.elasticsearch.cluster.ClusterState#getMinTransportVersion`. If the cluster state is changing quickly while searches are starting then these captured cluster states can consume substantial memory. If all we care about is the min transport version then we should just pass that in.

Note that the cluster state that ends up here is also captured by various lambdas (e.g. the one that runs after the can-match phase). The more we can reduce the scope of this cluster state capture, the better.
server/src/test/java/org/elasticsearch/action/search/SearchQueryThenFetchAsyncActionTests.java
} else {
            assertThat(phase.totalHits().value, equalTo(2L));
            assertThat(phase.totalHits().relation, equalTo(TotalHits.Relation.GREATER_THAN_OR_EQUAL_TO));
        }
        assertThat(phase.sortedTopDocs().scoreDocs().length, equalTo(1));
        assertThat(phase.sortedTopDocs().scoreDocs()[0], instanceOf(FieldDoc.class));
        assertThat(((FieldDoc) phase.sortedTopDocs().scoreDocs()[0]).fields.length, equalTo(1));
        assertThat(((FieldDoc) phase.sortedTopDocs().scoreDocs()[0]).fields[0], equalTo(0));
    }
    public void testMinimumVersionSameAsNewVersion() throws Exception {
        Version newVersion = Version.CURRENT;
        Version oldVersion = VersionUtils.randomVersionBetween(
            random(),
            Version.CURRENT.minimumCompatibilityVersion(),
            VersionUtils.getPreviousVersion(newVersion)
        );
        testMixedVersionsShardsSearch(newVersion, oldVersion, newVersion);
    }
    public void testMinimumVersionBetweenNewAndOldVersion() throws Exception {
        Version oldVersion = VersionUtils.getFirstVersion();
        Version newVersion = VersionUtils.maxCompatibleVersion(oldVersion);
        Version minVersion = VersionUtils.randomVersionBetween(
            random(),
            allVersions().get(allVersions().indexOf(oldVersion) + 1),
            newVersion
        );
        testMixedVersionsShardsSearch(newVersion, oldVersion, minVersion);
    }
    private void testMixedVersionsShardsSearch(Version oldVersion, Version newVersion, Version minVersion) throws Exception {
        final TransportSearchAction.SearchTimeProvider timeProvider = new TransportSearchAction.SearchTimeProvider(