Skip to content

Add timestamp pinning service and scheduler to update in-memory state…

Codecov / codecov/patch failed Aug 31, 2024 in 0s

46.95% of diff hit (target 71.66%)

View this Pull Request on Codecov

46.95% of diff hit (target 71.66%)

Annotations

Check warning on line 82 in server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java#L82

Added line #L82 was not covered by tests

Check warning on line 110 in server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java#L110

Added line #L110 was not covered by tests

Check warning on line 115 in server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java#L115

Added line #L115 was not covered by tests

Check warning on line 135 in server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/model/RemotePinnedTimestamps.java#L134-L135

Added lines #L134 - L135 were not covered by tests

Check warning on line 41 in server/src/main/java/org/opensearch/gateway/remote/model/RemoteStorePinnedTimestampsBlobStore.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/model/RemoteStorePinnedTimestampsBlobStore.java#L41

Added line #L41 was not covered by tests

Check warning on line 150 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L150

Added line #L150 was not covered by tests

Check warning on line 152 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L152

Added line #L152 was not covered by tests

Check warning on line 157 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L156-L157

Added lines #L156 - L157 were not covered by tests

Check warning on line 168 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L167-L168

Added lines #L167 - L168 were not covered by tests

Check warning on line 173 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L171-L173

Added lines #L171 - L173 were not covered by tests

Check warning on line 175 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L175

Added line #L175 was not covered by tests

Check warning on line 179 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L178-L179

Added lines #L178 - L179 were not covered by tests

Check warning on line 184 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L184

Added line #L184 was not covered by tests

Check warning on line 186 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L186

Added line #L186 was not covered by tests

Check warning on line 191 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L190-L191

Added lines #L190 - L191 were not covered by tests

Check warning on line 196 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L193-L196

Added lines #L193 - L196 were not covered by tests

Check warning on line 204 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L203-L204

Added lines #L203 - L204 were not covered by tests

Check warning on line 206 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L206

Added line #L206 was not covered by tests

Check warning on line 210 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L208-L210

Added lines #L208 - L210 were not covered by tests

Check warning on line 216 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L215-L216

Added lines #L215 - L216 were not covered by tests

Check warning on line 224 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L224

Added line #L224 was not covered by tests

Check warning on line 230 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L227-L230

Added lines #L227 - L230 were not covered by tests

Check warning on line 233 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L232-L233

Added lines #L232 - L233 were not covered by tests

Check warning on line 238 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L236-L238

Added lines #L236 - L238 were not covered by tests

Check warning on line 241 in server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java#L240-L241

Added lines #L240 - L241 were not covered by tests