Skip to content

Optimize _cat/nodes api by sending request to each node and receiving…

Codecov / codecov/patch failed Sep 4, 2024 in 0s

3.26% of diff hit (target 71.77%)

View this Pull Request on Codecov

3.26% of diff hit (target 71.77%)

Annotations

Check warning on line 135 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L135

Added line #L135 was not covered by tests

Check warning on line 140 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L140

Added line #L140 was not covered by tests

Check warning on line 142 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L142

Added line #L142 was not covered by tests

Check warning on line 145 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L145

Added line #L145 was not covered by tests

Check warning on line 148 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L148

Added line #L148 was not covered by tests

Check warning on line 155 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L150-L155

Added lines #L150 - L155 were not covered by tests

Check warning on line 159 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L157-L159

Added lines #L157 - L159 were not covered by tests

Check warning on line 164 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L163-L164

Added lines #L163 - L164 were not covered by tests

Check warning on line 169 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L169

Added line #L169 was not covered by tests

Check warning on line 172 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L172

Added line #L172 was not covered by tests

Check warning on line 175 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L174-L175

Added lines #L174 - L175 were not covered by tests

Check warning on line 180 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L180

Added line #L180 was not covered by tests

Check warning on line 182 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L182

Added line #L182 was not covered by tests

Check warning on line 184 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L184

Added line #L184 was not covered by tests

Check warning on line 190 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L189-L190

Added lines #L189 - L190 were not covered by tests

Check warning on line 192 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L192

Added line #L192 was not covered by tests

Check warning on line 199 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L197-L199

Added lines #L197 - L199 were not covered by tests

Check warning on line 205 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L204-L205

Added lines #L204 - L205 were not covered by tests

Check warning on line 212 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L209-L212

Added lines #L209 - L212 were not covered by tests

Check warning on line 217 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L214-L217

Added lines #L214 - L217 were not covered by tests

Check warning on line 219 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L219

Added line #L219 was not covered by tests

Check warning on line 227 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L227

Added line #L227 was not covered by tests

Check warning on line 229 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L229

Added line #L229 was not covered by tests

Check warning on line 237 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L231-L237

Added lines #L231 - L237 were not covered by tests

Check warning on line 239 in server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java#L239

Added line #L239 was not covered by tests