From 40ac8310c727fee02743267ee2c4eecda9a63f0b Mon Sep 17 00:00:00 2001 From: Bharathwaj G Date: Mon, 29 Aug 2022 09:22:39 +0530 Subject: [PATCH] Fixing build Signed-off-by: Bharathwaj G --- CHANGELOG.md | 1 + .../org/opensearch/action/search/GetAllPitNodesRequest.java | 1 + .../opensearch/action/search/TransportGetAllPitsAction.java | 3 +++ 3 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8132c1281e412..691982e9bb0b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] ### Added - Github workflow for changelog verification ([#4085](https://github.com/opensearch-project/OpenSearch/pull/4085)) +- Point in time rest layer changes for create and delete PIT API ([#4064](https://github.com/opensearch-project/OpenSearch/pull/4064)) ### Changed - Dependency updates (httpcore, mockito, slf4j, httpasyncclient, commons-codec) ([#4308](https://github.com/opensearch-project/OpenSearch/pull/4308)) diff --git a/server/src/main/java/org/opensearch/action/search/GetAllPitNodesRequest.java b/server/src/main/java/org/opensearch/action/search/GetAllPitNodesRequest.java index f396fe55b0a89..340f9b842adbf 100644 --- a/server/src/main/java/org/opensearch/action/search/GetAllPitNodesRequest.java +++ b/server/src/main/java/org/opensearch/action/search/GetAllPitNodesRequest.java @@ -21,6 +21,7 @@ */ public class GetAllPitNodesRequest extends BaseNodesRequest { + // Security plugin intercepts and sets the response with permitted PIT contexts private GetAllPitNodesResponse getAllPitNodesResponse; @Inject diff --git a/server/src/main/java/org/opensearch/action/search/TransportGetAllPitsAction.java b/server/src/main/java/org/opensearch/action/search/TransportGetAllPitsAction.java index 375c5ed4dcc10..c8529c5b02bd4 100644 --- a/server/src/main/java/org/opensearch/action/search/TransportGetAllPitsAction.java +++ b/server/src/main/java/org/opensearch/action/search/TransportGetAllPitsAction.java @@ -15,6 +15,9 @@ import org.opensearch.tasks.Task; import org.opensearch.transport.TransportService; +/** + * Transport action to get all active PIT contexts across the cluster + */ public class TransportGetAllPitsAction extends HandledTransportAction { private final PitService pitService;