Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for applyStartedShards (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java

        private static class NoopGatewayAllocator extends GatewayAllocator {
            public static final NoopGatewayAllocator INSTANCE = new NoopGatewayAllocator();
    
            @Override
            public void applyStartedShards(List<ShardRouting> startedShards, RoutingAllocation allocation) {
                // noop
            }
    
            @Override
            public void applyFailedShards(List<FailedShard> failedShards, RoutingAllocation allocation) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  2. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java

        public ClusterState measureAllocation() {
            ClusterState clusterState = initialClusterState;
            while (clusterState.getRoutingNodes().hasUnassignedShards()) {
                clusterState = strategy.applyStartedShards(
                    clusterState,
                    clusterState.getRoutingNodes().shardsWithState(ShardRoutingState.INITIALIZING)
                );
                clusterState = strategy.reroute(clusterState, "reroute");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 13 08:33:41 GMT 2021
    - 6.7K bytes
    - Click Count (0)
Back to Top