Introducing indexing & deletion strategy planner interfaces#20585
Introducing indexing & deletion strategy planner interfaces#20585Bukhtawar merged 1 commit intoopensearch-project:mainfrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
344f4b8 to
944cf1a
Compare
|
❌ 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? |
9513ca5 to
479e74f
Compare
|
❌ 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? |
479e74f to
eecb2d0
Compare
server/src/main/java/org/opensearch/index/engine/DeletionStrategy.java
Outdated
Show resolved
Hide resolved
|
❌ 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? |
eecb2d0 to
6be6a79
Compare
|
❌ 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? |
3c3a9cd to
83bcfc7
Compare
|
❌ 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? |
|
❌ 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? |
614ddcb to
cf08e29
Compare
|
Persistent review updated to latest commit cf08e29 |
cf08e29 to
a681e1e
Compare
|
Persistent review updated to latest commit a681e1e |
a681e1e to
22e6d16
Compare
|
Persistent review updated to latest commit 22e6d16 |
|
❌ 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? |
22e6d16 to
3c68659
Compare
|
Persistent review updated to latest commit 3c68659 |
|
❌ 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? |
3c68659 to
dab203a
Compare
|
Persistent review updated to latest commit dab203a |
|
❌ 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>
dab203a to
d85601b
Compare
|
Persistent review updated to latest commit d85601b |
…ch-project#20585) Signed-off-by: Shashank Gowri <shnkgo@amazon.com>
…ch-project#20585) Signed-off-by: Shashank Gowri <shnkgo@amazon.com> Signed-off-by: Rishab Nahata <rishabnahata07@gmail.com>
…#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>
Description
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.
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
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.