OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

[Backport 2.x] Cleanup file cache on deleting index/shard directory

Open opensearch-trigger-bot[bot] opened this issue 1 year ago • 4 comments

Backport c564ee35ec000c38fe9d525a4b6add90cfc969fc from #11443.

Compatibility status:

Checks if related components are compatible with change 36493ab

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/performance-analyzer-rca.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/alerting.git]

github-actions[bot] avatar Feb 03 '24 00:02 github-actions[bot]

:x: Gradle check result for 36493ab0142de066fca4451a82d8849092668e93: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Feb 03 '24 01:02 github-actions[bot]

:white_check_mark: Gradle check result for 36493ab0142de066fca4451a82d8849092668e93: SUCCESS

github-actions[bot] avatar Feb 07 '24 23:02 github-actions[bot]

Codecov Report

Attention: 30 lines in your changes are missing coverage. Please review.

Comparison is base (4faa3eb) 71.05% compared to head (36493ab) 71.11%. Report is 29 commits behind head on 2.x.

Files Patch % Lines
...index/store/remote/filecache/FileCacheCleaner.java 60.86% 5 Missing and 4 partials :warning:
.../main/java/org/opensearch/env/NodeEnvironment.java 57.89% 8 Missing :warning:
.../opensearch/rest/action/cat/RestIndicesAction.java 50.00% 0 Missing and 8 partials :warning:
...rg/opensearch/rest/action/cat/RestNodesAction.java 50.00% 0 Missing and 4 partials :warning:
.../main/java/org/opensearch/search/SearchModule.java 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #12154      +/-   ##
============================================
+ Coverage     71.05%   71.11%   +0.06%     
- Complexity    59441    59501      +60     
============================================
  Files          4894     4894              
  Lines        280304   280303       -1     
  Branches      41115    41108       -7     
============================================
+ Hits         199161   199329     +168     
+ Misses        64284    64126     -158     
+ Partials      16859    16848      -11     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 07 '24 23:02 codecov[bot]