Skip to content

Fix memory leak issue in ReorganizingLongHash (#11953)#11955

Merged
reta merged 1 commit intoopensearch-project:2.xfrom
neetikasinghal:backport-memory-leak
Jan 20, 2024
Merged

Fix memory leak issue in ReorganizingLongHash (#11953)#11955
reta merged 1 commit intoopensearch-project:2.xfrom
neetikasinghal:backport-memory-leak

Conversation

@neetikasinghal
Copy link
Copy Markdown
Contributor

@neetikasinghal neetikasinghal commented Jan 19, 2024

Signed-off-by: Neetika Singhal neetiks@amazon.com
(cherry picked from commit 84f303b)

Description

Backports #11953

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Neetika Singhal <neetiks@amazon.com>
(cherry picked from commit 84f303b)
@github-actions
Copy link
Copy Markdown
Contributor

Compatibility status:

Checks if related components are compatible with change 63ac40a

Incompatible components

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

@github-actions
Copy link
Copy Markdown
Contributor

❕ Gradle check result for 63ac40a: UNSTABLE

  • TEST FAILURES:
      2 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.classMethod
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testRefreshAfterCommit
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterRefresh
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterMultipleCommits
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterCommit
      1 org.opensearch.cluster.allocation.ClusterRerouteIT.testDelayWithALargeAmountOfShards

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 19, 2024

Codecov Report

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

Comparison is base (c0581a0) 71.11% compared to head (63ac40a) 70.67%.

Files Patch % Lines
...g/opensearch/common/util/ReorganizingLongHash.java 60.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #11955      +/-   ##
============================================
- Coverage     71.11%   70.67%   -0.45%     
+ Complexity    59429    58985     -444     
============================================
  Files          4891     4891              
  Lines        279938   279940       +2     
  Branches      41054    41055       +1     
============================================
- Hits         199087   197851    -1236     
- Misses        64042    65275    +1233     
- Partials      16809    16814       +5     

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

@reta reta merged commit a93e86c into opensearch-project:2.x Jan 20, 2024
@neetikasinghal neetikasinghal deleted the backport-memory-leak branch January 22, 2024 03:27
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