You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract version and cluster-manager node ID before creating lambda
closures to prevent retaining full ClusterState objects in memory.
- Add build(long, String) overload and private buildPredicate helper
to ClusterManagerNodeChangePredicate
- Add StoredState(String, long) constructor and matching
ClusterStateObserver constructors accepting pre-extracted values
- Update TransportClusterManagerNodeAction methods to capture only
primitives and Strings instead of full ClusterState in closures
Signed-off-by: Harish Narasimhan <hxarishk@amazon.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
53
53
- Delegate getMin/getMax methods for ExitableTerms ([#20775](https://github.com/opensearch-project/OpenSearch/pull/20775))
54
54
- Fix terms lookup subquery fetch limit reading from non-existent index setting instead of cluster `max_clause_count` ([#20823](https://github.com/opensearch-project/OpenSearch/pull/20823))
55
55
- Fix array_index_out_of_bounds_exception with wildcard and aggregations ([#20842](https://github.com/opensearch-project/OpenSearch/pull/20842))
56
+
- Reduce ClusterState retention in retry closures of TransportClusterManagerNodeAction ([#20858](https://github.com/opensearch-project/OpenSearch/pull/20858))
56
57
57
58
### Dependencies
58
59
- Bump shadow-gradle-plugin from 8.3.9 to 9.3.1 ([#20569](https://github.com/opensearch-project/OpenSearch/pull/20569))
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/action/support/clustermanager/TransportClusterManagerNodeActionTests.java
0 commit comments