Skip to content

Make RemoteStoreReplicationSource#getSegmentFiles asynchronous (#10725)

Codecov / codecov/patch succeeded Oct 20, 2023 in 1s

73.00% of diff hit (target 70.98%)

View this Pull Request on Codecov

73.00% of diff hit (target 70.98%)

Annotations

Check warning on line 130 in server/src/main/java/org/opensearch/common/joda/JodaDateFormatter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/joda/JodaDateFormatter.java#L130

Added line #L130 was not covered by tests

Check warning on line 175 in server/src/main/java/org/opensearch/common/time/DateFormatter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/time/DateFormatter.java#L174-L175

Added lines #L174 - L175 were not covered by tests

Check warning on line 190 in server/src/main/java/org/opensearch/common/time/DateFormatter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/time/DateFormatter.java#L190

Added line #L190 was not covered by tests

Check warning on line 94 in server/src/main/java/org/opensearch/common/util/FeatureFlags.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/util/FeatureFlags.java#L94

Added line #L94 was not covered by tests

Check warning on line 109 in server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java#L109

Added line #L109 was not covered by tests

Check warning on line 143 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L143

Added line #L143 was not covered by tests

Check warning on line 152 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L149-L152

Added lines #L149 - L152 were not covered by tests

Check warning on line 167 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L167

Added line #L167 was not covered by tests

Check warning on line 235 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L235

Added line #L235 was not covered by tests

Check warning on line 249 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L247-L249

Added lines #L247 - L249 were not covered by tests

Check warning on line 254 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L253-L254

Added lines #L253 - L254 were not covered by tests

Check warning on line 259 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L259

Added line #L259 was not covered by tests

Check warning on line 261 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L261

Added line #L261 was not covered by tests

Check warning on line 267 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L263-L267

Added lines #L263 - L267 were not covered by tests

Check warning on line 269 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L269

Added line #L269 was not covered by tests

Check warning on line 273 in server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java#L272-L273

Added lines #L272 - L273 were not covered by tests

Check warning on line 1655 in server/src/main/java/org/opensearch/index/shard/IndexShard.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/shard/IndexShard.java#L1655

Added line #L1655 was not covered by tests

Check warning on line 92 in server/src/main/java/org/opensearch/index/store/RemoteStoreFileDownloader.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/RemoteStoreFileDownloader.java#L92

Added line #L92 was not covered by tests

Check warning on line 96 in server/src/main/java/org/opensearch/index/store/RemoteStoreFileDownloader.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/RemoteStoreFileDownloader.java#L96

Added line #L96 was not covered by tests

Check warning on line 132 in server/src/main/java/org/opensearch/indices/replication/RemoteStoreReplicationSource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/replication/RemoteStoreReplicationSource.java#L132

Added line #L132 was not covered by tests

Check warning on line 134 in server/src/main/java/org/opensearch/indices/replication/RemoteStoreReplicationSource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/replication/RemoteStoreReplicationSource.java#L134

Added line #L134 was not covered by tests

Check warning on line 142 in server/src/main/java/org/opensearch/indices/replication/RemoteStoreReplicationSource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/replication/RemoteStoreReplicationSource.java#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 100 in server/src/main/java/org/opensearch/indices/replication/SegmentReplicationSource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/replication/SegmentReplicationSource.java#L100

Added line #L100 was not covered by tests

Check warning on line 105 in server/src/main/java/org/opensearch/indices/replication/SegmentReplicationSource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/replication/SegmentReplicationSource.java#L105

Added line #L105 was not covered by tests

Check warning on line 115 in server/src/main/java/org/opensearch/indices/replication/SegmentReplicationSource.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/indices/replication/SegmentReplicationSource.java#L115

Added line #L115 was not covered by tests