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

[Backport 2.x] [Tiered caching] Framework changes #11826

Closed
wants to merge 1 commit into from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport ebda963 from #10753.

* [Tiered caching] Framework changes

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Added javadoc for new files/packages

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Added changelog

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Fixing javadoc warnings

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Addressing comments

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Addressing additional minor comments

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Moving non null check to builder for OS onHeapCache

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Adding package-info for new packages

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Removing service and adding different cache interfaces along with event listener support

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Fixing gradle missingDoc issue

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Changing listener logic, removing tiered cache integration with IRC

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Adding opensearch.internal tag for LoadAwareCacheLoader

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Fixing thread safety issue

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Remove compute function and event listener logic change for TieredCache

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Making Cache.compute function private

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Adding javadoc and more test for cache.put

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Adding write locks to refresh API as well

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Removing unwanted EventType class and refactoring one UT

Signed-off-by: Sagar Upadhyaya <[email protected]>

* Removing TieredCache interface

Signed-off-by: Sagar Upadhyaya <[email protected]>

---------

Signed-off-by: Sagar Upadhyaya <[email protected]>
Signed-off-by: Sagar <[email protected]>
(cherry picked from commit ebda963)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Jan 9, 2024

Compatibility status:

Checks if related components are compatible with change f1fcd05

Incompatible components

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security-analytics.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/job-scheduler.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/security.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/alerting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/performance-analyzer.git]

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (77d8964) 70.95% compared to head (77d8964) 70.95%.

❗ Current head 77d8964 differs from pull request most recent head f1fcd05. Consider uploading reports for the commit f1fcd05 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##                2.x   #11826   +/-   ##
=========================================
  Coverage     70.95%   70.95%           
  Complexity    59240    59240           
=========================================
  Files          4889     4889           
  Lines        279798   279798           
  Branches      41027    41027           
=========================================
  Hits         198522   198522           
  Misses        64406    64406           
  Partials      16870    16870           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Jan 9, 2024

❌ Gradle check result for f1fcd05: 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?

@sgup432
Copy link
Contributor

sgup432 commented Jan 22, 2024

I have created backport PR here - #11971 as didn't have access to the branch to resolve conflict.

Will request maintainers to close this PR.

@deshsidd deshsidd closed this Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants