OpenSearch
OpenSearch copied to clipboard
Shard id awareness of SearchLookup
Signed-off-by: Oleksandr Koval [email protected]
Description
Add shardId field for SearchLookup.
Issues Resolved
#1062
Check List
- [ ] New functionality includes testing.
- [ ] All tests pass
- [ ] New functionality has been documented.
- [ ] New functionality has javadoc added
- [x] Commits are signed per the DCO using --signoff
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.
:white_check_mark: Â DCO Check Passed a2be8c04219d7b6aaa8ee0a4107bfee73d1b00a4
:white_check_mark: Â Gradle Wrapper Validation success a2be8c04219d7b6aaa8ee0a4107bfee73d1b00a4
:white_check_mark: Â DCO Check Passed 3314a8069f91480db129fac4e0f92507ca42a768
:x: Â Gradle Precommit failure a2be8c04219d7b6aaa8ee0a4107bfee73d1b00a4 Log 902
:white_check_mark: Â Gradle Wrapper Validation success 3314a8069f91480db129fac4e0f92507ca42a768
:white_check_mark: Â Gradle Precommit success 3314a8069f91480db129fac4e0f92507ca42a768
Can one of the admins verify this patch?
start gradle check
:white_check_mark: Â Gradle Wrapper Validation success 3314a8069f91480db129fac4e0f92507ca42a768
:white_check_mark: Â DCO Check Passed 3314a8069f91480db129fac4e0f92507ca42a768
:white_check_mark: Â Gradle Precommit success 3314a8069f91480db129fac4e0f92507ca42a768
@anti-social , can you look into the failure and resolve the conflict.
:white_check_mark: Â Gradle Wrapper Validation success 5c971a9754d3cf3dbe4f9beecd66e7c8acf076fd
:white_check_mark: Â Gradle Precommit success 5c971a9754d3cf3dbe4f9beecd66e7c8acf076fd
Think this test are not related to the changes:
org.opensearch.cluster.ClusterHealthIT > testHealthOnMasterFailover FAILED
./gradlew :server:internalClusterTest --tests "org.opensearch.cluster.ClusterHealthIT.testHealthOnMasterFailover" passed on my machine.
Possibly checks should be retried.
start gradle check
:white_check_mark: Â Gradle Check success 5c971a9754d3cf3dbe4f9beecd66e7c8acf076fd Log 991
:white_check_mark: Â Gradle Wrapper Validation success 4254bab0ddedb8716ef5d9f7247956d68c3b89b6
:white_check_mark: Â Gradle Precommit success 4254bab0ddedb8716ef5d9f7247956d68c3b89b6
:white_check_mark: Â Gradle Check success 4254bab0ddedb8716ef5d9f7247956d68c3b89b6 Log 1006
:white_check_mark: Â Gradle Check success 4254bab0ddedb8716ef5d9f7247956d68c3b89b6 Log 1473
@anti-social : Can you please explain the use case here ?
We have an index with quite huge documents and something like a bid platform. So we want to quickly update only a single document field without reindexing full document. We implemented a plugin that works similar to Solr ExternalFileField but in a slightly more optimized way. There is a service that fetches data from Kafka and puts updates into special hashmap-like files. Data in these files are partitioned in exactly the same way as documents in shards (data in a file corresponds to a shard). Then when a search request is executed we should to know a shard id to be able to choose right file with bids.
@anti-social are you still working on this change?
@anti-social Hey, do you want to move ahead and work on the tests to close out this issue?
I'll try to do finish it soon
On Mon, Mar 13, 2023, 21:16 Poojita Raj @.***> wrote:
@anti-social https://github.com/anti-social Hey, do you want to move ahead and work on the tests to close out this issue?
— Reply to this email directly, view it on GitHub https://github.com/opensearch-project/OpenSearch/pull/1063#issuecomment-1466806828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKV2Y5XHYOVR47HUMWH5LW35XANANCNFSM5BZTMGIQ . You are receiving this because you were mentioned.Message ID: @.***>
Gradle Check (Jenkins) Run Completed with:
- RESULT: FAILURE :x:
- URL: https://build.ci.opensearch.org/job/gradle-check/12946/
- CommitID: d2b3473b0c438d4b9e89851bdceaf458db514e14 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?