### CI Link

https://gradle-enterprise.elastic.co/s/4accu24s4cbyc

### Repro line

./gradlew ':server:internalClusterTest' --tests "org.elasticsearch.get.ShardMultiGetFomTranslogActionIT.testShardMultiGetFromTranslog" -Dtests.seed=AC01D0C25C12539E -Dtests.locale=hr-HR -Dtests.timezone=Africa/Windhoek -Druntime.java=20

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

Test was introduced today via https://github.com/elastic/elasticsearch/pull/96492

### Failure excerpt

```java
org.elasticsearch.get.ShardMultiGetFomTranslogActionIT > testShardMultiGetFromTranslog FAILED
    java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([AC01D0C25C12539E:D5637AF36B6B21E3]:0)
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:712)
        at org.junit.Assert.assertNotNull(Assert.java:722)
        at org.elasticsearch.get.ShardMultiGetFomTranslogActionIT.testShardMultiGetFromTranslog(ShardMultiGetFomTranslogActionIT.java:105)
```


server/src/internalClusterTest/java/org/elasticsearch/get/ShardMultiGetFomTranslogActionIT.java
assertNull(getFailures(multiGetShardResponse).get(0));
        assertThat(getResponses(multiGetShardResponse).size(), equalTo(1));
        assertNull(getResponses(multiGetShardResponse).get(0));
        assertThat(response.segmentGeneration(), greaterThan(0L));
    }
    private TransportShardMultiGetFomTranslogAction.Response getFromTranslog(String index, List<String> ids) throws Exception {
        var shardRouting = randomFrom(clusterService().state().routingTable().allShards("test"));
        var multiGetRequest = client().prepareMultiGet().addIds(index, ids).request();
        var multiGetShardRequest = ShardMultiGetFromTranslogUtil.newMultiGetShardRequest(multiGetRequest, shardRouting.shardId());
        var node = clusterService().state().nodes().get(shardRouting.currentNodeId());
        assertNotNull(node);
        TransportShardMultiGetFomTranslogAction.Request request = new TransportShardMultiGetFomTranslogAction.Request(
            multiGetShardRequest,
            shardRouting.shardId()
        );
        var transportService = internalCluster().getInstance(TransportService.class);
        PlainActionFuture<TransportShardMultiGetFomTranslogAction.Response> response = new PlainActionFuture<>();
        transportService.sendRequest(
            node,
            TransportShardMultiGetFomTranslogAction.NAME,
            request,
            new ActionListenerResponseHandler<>(response, TransportShardMultiGetFomTranslogAction.Response::new, ThreadPool.Names.GET)
        );
        return response.get();
    }
    private String indexOrAlias() {
        return randomBoolean() ? "test" : "alias";
    }
}