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

[Writable Warm] Composite Directory implementation and integrating it with FileCache #12782

Merged
merged 22 commits into from
Jun 20, 2024

Minor precommit fixes

901849b
Select commit
Loading
Failed to load commit list.
Merged

[Writable Warm] Composite Directory implementation and integrating it with FileCache #12782

Minor precommit fixes
901849b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 20, 2024 in 0s

75.17% of diff hit (target 71.42%)

View this Pull Request on Codecov

75.17% of diff hit (target 71.42%)

Annotations

Check warning on line 649 in server/src/main/java/org/opensearch/index/IndexModule.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexModule.java#L649

Added line #L649 was not covered by tests

Check warning on line 349 in server/src/main/java/org/opensearch/index/IndexService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexService.java#L349

Added line #L349 was not covered by tests

Check warning on line 386 in server/src/main/java/org/opensearch/index/IndexService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexService.java#L386

Added line #L386 was not covered by tests

Check warning on line 620 in server/src/main/java/org/opensearch/index/IndexService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexService.java#L618-L620

Added lines #L618 - L620 were not covered by tests

Check warning on line 1306 in server/src/main/java/org/opensearch/index/IndexSettings.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexSettings.java#L1306

Added line #L1306 was not covered by tests

Check warning on line 451 in server/src/main/java/org/opensearch/index/shard/RemoteStoreRefreshListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/shard/RemoteStoreRefreshListener.java#L451

Added line #L451 was not covered by tests

Check warning on line 71 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L70-L71

Added lines #L70 - L71 were not covered by tests

Check warning on line 115 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L115

Added line #L115 was not covered by tests

Check warning on line 117 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L117

Added line #L117 was not covered by tests

Check warning on line 142 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 153 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L152-L153

Added lines #L152 - L153 were not covered by tests

Check warning on line 233 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L233

Added line #L233 was not covered by tests

Check warning on line 263 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L263

Added line #L263 was not covered by tests

Check warning on line 282 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L282

Added line #L282 was not covered by tests

Check warning on line 323 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L323

Added line #L323 was not covered by tests

Check warning on line 329 in server/src/main/java/org/opensearch/index/store/CompositeDirectory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/CompositeDirectory.java#L329

Added line #L329 was not covered by tests

Check warning on line 97 in server/src/main/java/org/opensearch/index/store/remote/directory/RemoteSnapshotDirectoryFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/directory/RemoteSnapshotDirectoryFactory.java#L97

Added line #L97 was not covered by tests

Check warning on line 62 in server/src/main/java/org/opensearch/index/store/remote/filecache/CachedFullFileIndexInput.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/filecache/CachedFullFileIndexInput.java#L62

Added line #L62 was not covered by tests

Check warning on line 151 in server/src/main/java/org/opensearch/index/store/remote/filecache/FileCache.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/filecache/FileCache.java#L147-L151

Added lines #L147 - L151 were not covered by tests

Check warning on line 95 in server/src/main/java/org/opensearch/index/store/remote/filecache/FullFileCachedIndexInput.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/filecache/FullFileCachedIndexInput.java#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 101 in server/src/main/java/org/opensearch/index/store/remote/filecache/FullFileCachedIndexInput.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/filecache/FullFileCachedIndexInput.java#L100-L101

Added lines #L100 - L101 were not covered by tests

Check warning on line 19 in server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java#L19

Added line #L19 was not covered by tests

Check warning on line 30 in server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java#L30

Added line #L30 was not covered by tests

Check warning on line 34 in server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java#L34

Added line #L34 was not covered by tests

Check warning on line 38 in server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/utils/FileTypeUtils.java#L38

Added line #L38 was not covered by tests