Skip to content

Cleanup file cache on deleting index/shard directory (#11443)

Codecov / codecov/patch failed Feb 7, 2024 in 0s

65.51% of diff hit (target 71.05%)

View this Pull Request on Codecov

65.51% of diff hit (target 71.05%)

Annotations

Check warning on line 681 in server/src/main/java/org/opensearch/env/NodeEnvironment.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/env/NodeEnvironment.java#L680-L681

Added lines #L680 - L681 were not covered by tests

Check warning on line 687 in server/src/main/java/org/opensearch/env/NodeEnvironment.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/env/NodeEnvironment.java#L684-L687

Added lines #L684 - L687 were not covered by tests

Check warning on line 689 in server/src/main/java/org/opensearch/env/NodeEnvironment.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/env/NodeEnvironment.java#L689

Added line #L689 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/filecache/FileCacheCleaner.java#L78-L79

Added lines #L78 - L79 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/filecache/FileCacheCleaner.java#L91-L92

Added lines #L91 - L92 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/store/remote/filecache/FileCacheCleaner.java#L111

Added line #L111 was not covered by tests