Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search only replicas (scale to zero) with Reader/Writer Separation #17299

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Upstream Fetch

cb515eb
Select commit
Loading
Failed to load commit list.
Open

Search only replicas (scale to zero) with Reader/Writer Separation #17299

Upstream Fetch
cb515eb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Feb 25, 2025 in 1s

82.16% of diff hit (target 72.41%)

View this Pull Request on Codecov

82.16% of diff hit (target 72.41%)

Annotations

Check warning on line 115 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequest.java#L115

Added line #L115 was not covered by tests

Check warning on line 153 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequest.java#L152-L153

Added lines #L152 - L153 were not covered by tests

Check warning on line 164 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequest.java#L163-L164

Added lines #L163 - L164 were not covered by tests

Check warning on line 38 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequestBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequestBuilder.java#L37-L38

Added lines #L37 - L38 were not covered by tests

Check warning on line 49 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequestBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequestBuilder.java#L48-L49

Added lines #L48 - L49 were not covered by tests

Check warning on line 65 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequestBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyRequestBuilder.java#L64-L65

Added lines #L64 - L65 were not covered by tests

Check warning on line 138 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyShardSyncManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyShardSyncManager.java#L138

Added line #L138 was not covered by tests

Check warning on line 153 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyShardSyncManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/SearchOnlyShardSyncManager.java#L153

Added line #L153 was not covered by tests

Check warning on line 142 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java#L142

Added line #L142 was not covered by tests

Check warning on line 165 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java#L165

Added line #L165 was not covered by tests

Check warning on line 189 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java#L187-L189

Added lines #L187 - L189 were not covered by tests

Check warning on line 271 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java#L271

Added line #L271 was not covered by tests

Check warning on line 365 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java#L364-L365

Added lines #L364 - L365 were not covered by tests

Check warning on line 405 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java#L405

Added line #L405 was not covered by tests

Check warning on line 473 in server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/scale/searchonly/TransportSearchOnlyAction.java#L471-L473

Added lines #L471 - L473 were not covered by tests

Check warning on line 149 in server/src/main/java/org/opensearch/action/admin/indices/shards/TransportIndicesShardStoresAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/indices/shards/TransportIndicesShardStoresAction.java#L149

Added line #L149 was not covered by tests

Check warning on line 436 in server/src/main/java/org/opensearch/cluster/block/ClusterBlocks.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/block/ClusterBlocks.java#L436

Added line #L436 was not covered by tests

Check warning on line 260 in server/src/main/java/org/opensearch/cluster/health/ClusterIndexHealth.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/health/ClusterIndexHealth.java#L260

Added line #L260 was not covered by tests

Check warning on line 262 in server/src/main/java/org/opensearch/cluster/health/ClusterIndexHealth.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/health/ClusterIndexHealth.java#L262

Added line #L262 was not covered by tests

Check warning on line 128 in server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java#L128

Added line #L128 was not covered by tests

Check warning on line 132 in server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java#L132

Added line #L132 was not covered by tests

Check warning on line 170 in server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java#L170

Added line #L170 was not covered by tests

Check warning on line 174 in server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java#L172-L174

Added lines #L172 - L174 were not covered by tests

Check warning on line 181 in server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java#L181

Added line #L181 was not covered by tests

Check warning on line 452 in server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/IndexRoutingTable.java#L451-L452

Added lines #L451 - L452 were not covered by tests