Skip to content

Introducing indexing & deletion strategy planner interfaces#20585

Merged
Bukhtawar merged 1 commit intoopensearch-project:mainfrom
shank9918:refactored-engine
Feb 27, 2026
Merged

Introducing indexing & deletion strategy planner interfaces#20585
Bukhtawar merged 1 commit intoopensearch-project:mainfrom
shank9918:refactored-engine

Conversation

@shank9918
Copy link
Copy Markdown
Contributor

@shank9918 shank9918 commented Feb 10, 2026

Description

  • Introduce Strategy Planner Interfaces

Refactor indexing and deletion planning logic into dedicated planner interfaces responsible for primary and non-primary execution. Default planner implementations would encapsulate the existing InternalEngine behavior, while enabling alternative engines to provide custom planners or reuse shared implementations.

  • Delegate Planning via Composition

Update Engine implementations to delegate planning decisions to injected planner instances. The default behavior for InternalEngine should remain unchanged, ensuring backward compatibility.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

[Feature Request] Refactor Engine internals to decouple operation/result types and introduce pluggable planning strategies

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 10, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@shank9918 shank9918 changed the title Introducing indexing & deletion strategy planner interfaces and refac… Decouple operation/result types and introduce pluggable planning strategies Feb 10, 2026
@shank9918 shank9918 force-pushed the refactored-engine branch 3 times, most recently from 344f4b8 to 944cf1a Compare February 11, 2026 05:26
@github-actions
Copy link
Copy Markdown
Contributor

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

@shank9918 shank9918 force-pushed the refactored-engine branch 3 times, most recently from 9513ca5 to 479e74f Compare February 11, 2026 05:49
@github-actions
Copy link
Copy Markdown
Contributor

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

@shank9918 shank9918 changed the title Decouple operation/result types and introduce pluggable planning strategies Introducing indexing & deletion strategy planner interfaces Feb 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

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

@shank9918 shank9918 force-pushed the refactored-engine branch 2 times, most recently from 3c3a9cd to 83bcfc7 Compare February 12, 2026 06:05
@github-actions
Copy link
Copy Markdown
Contributor

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

@shank9918 shank9918 closed this Feb 12, 2026
@shank9918 shank9918 reopened this Feb 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit cf08e29

@github-actions
Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit a681e1e

@github-actions
Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit 22e6d16

@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit 3c68659

@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit dab203a

@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for dab203a: null

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?

Signed-off-by: Shashank Gowri <shnkgo@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit d85601b

@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for d85601b: SUCCESS

@Bukhtawar Bukhtawar merged commit 59be6ae into opensearch-project:main Feb 27, 2026
35 checks passed
imRishN pushed a commit to imRishN/OpenSearch that referenced this pull request Feb 28, 2026
imRishN pushed a commit to imRishN/OpenSearch that referenced this pull request Mar 1, 2026
…ch-project#20585)

Signed-off-by: Shashank Gowri <shnkgo@amazon.com>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>
varunbharadwaj added a commit that referenced this pull request Mar 2, 2026
…#20729)

* Implement FieldMappingIngestionMessageMapper for pull-based ingestion

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Add changelog

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Address bot comment

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Address comments

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Address comments

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Remove affiliation column for emeritus maintainers (#20725)

Emeritus maintainers are not active in the project, therefore I don't
see a lot of value in tracking their affiliation.

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Add bitmap64 query support (#20606)

---------

Signed-off-by: Divya <DIVYA2@ibm.com>
Signed-off-by: Divya <divyaruhil999@gmail.com>
Co-authored-by: Divya <DIVYA2@ibm.com>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* fix stream transport TLS cert hot-reload by using live SSLContext from SecureTransportSettingsProvider (#20734)

Signed-off-by: Rishabh Maurya <rishabhmaurya05@gmail.com>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Bump OpenTelemetry to 1.59.0 and OpenTelemetry Semconv to 1.40.0 (#20737)

Signed-off-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* [Pull-based Ingestion] Remove experimental tag for pull-based ingestion (#20704)

* remove experimental tag for pull-based ingestion

Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>

* update BroadcastRequest to be marked as public API

Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>

---------

Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Bump Apache Lucene from 10.3.2 to 10.4.0 (#20735)

Signed-off-by: Ankit Jain <jainankitk@apache.org>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Minor

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Fix spotless check

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Address bot comment

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Make id mandatory when id field provided

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Fix spotless check

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Introducing indexing & deletion strategy planner interfaces (#20585)

Signed-off-by: Shashank Gowri <shnkgo@amazon.com>
Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Add changelog

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Refactor

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Fix spotless check

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Empty commit

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Remove duplicate changelog

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

* Empty commit

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>

---------

Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Divya <DIVYA2@ibm.com>
Signed-off-by: Divya <divyaruhil999@gmail.com>
Signed-off-by: Rishabh Maurya <rishabhmaurya05@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
Signed-off-by: Ankit Jain <jainankitk@apache.org>
Signed-off-by: Shashank Gowri <shnkgo@amazon.com>
Co-authored-by: Andrew Ross <andrross@amazon.com>
Co-authored-by: Divya <117009486+divyaruhil@users.noreply.github.com>
Co-authored-by: Divya <DIVYA2@ibm.com>
Co-authored-by: Rishabh Maurya <rishabhmaurya05@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
Co-authored-by: Ankit Jain <jainankitk@apache.org>
Co-authored-by: Shashank Gowri <shashankgowri@gmail.com>
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.

3 participants