Skip to content

Commit

Permalink
updated changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Rajiv Kumar Vaidyanathan <[email protected]>
  • Loading branch information
rajiv-kv committed Mar 19, 2024
1 parent 3da3f04 commit 9e96c14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- [S3 Repository] Add setting to control connection count for sync client ([#12028](https://github.com/opensearch-project/OpenSearch/pull/12028))
- Views, simplify data access and manipulation by providing a virtual layer over one or more indices ([#11957](https://github.com/opensearch-project/OpenSearch/pull/11957))
- Add Remote Store Migration Experimental flag and allow mixed mode clusters under same ([#11986](https://github.com/opensearch-project/OpenSearch/pull/11986))

- Light weight Transport action to verify local term before fetching cluster-state from remote ([#12252](https://github.com/opensearch-project/OpenSearch/pull/12252/))
### Dependencies
- Bump `log4j-core` from 2.18.0 to 2.19.0
- Bump `forbiddenapis` from 3.3 to 3.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ private ActionListener<Response> getDelegateForLocalExecute(ClusterState cluster
}

protected BiConsumer<DiscoveryNode, ClusterState> clusterStateLatestChecker(
Consumer<ClusterState> onLatestWithLocalState,
BiConsumer<DiscoveryNode, ClusterState> onMisMatchWithLocalState
Consumer<ClusterState> onLatestLocalState,
BiConsumer<DiscoveryNode, ClusterState> onStaleLocalState
) {
return (clusterManagerNode, clusterState) -> {
transportService.sendRequest(
Expand All @@ -371,9 +371,9 @@ public void handleResponse(GetTermVersionResponse response) {
isLatestClusterStatePresentOnLocalNode
);
if (isLatestClusterStatePresentOnLocalNode) {
onLatestWithLocalState.accept(clusterState);
onLatestLocalState.accept(clusterState);
} else {
onMisMatchWithLocalState.accept(clusterManagerNode, clusterState);
onStaleLocalState.accept(clusterManagerNode, clusterState);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public void testTermCheckNoMatchWithClusterManager() throws ExecutionException,

public void testTermCheckOnOldVersionClusterManager() throws ExecutionException, InterruptedException {

setUpCluster(Version.V_2_13_0);
setUpCluster(Version.V_2_12_0);
TransportClusterManagerTermCheckTests.Request request = new TransportClusterManagerTermCheckTests.Request();

PlainActionFuture<TransportClusterManagerTermCheckTests.Response> listener = new PlainActionFuture<>();
Expand Down

0 comments on commit 9e96c14

Please sign in to comment.