Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new procedure for AOSS #243

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

VijayanB
Copy link
Member

Description

AOSS doesn't allow users to pass value to "_id".
Hence, create a new procedure and param to support user defined field "id" as unique field to identify document from index.

Issues Resolved

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.

@VijayanB
Copy link
Member Author

VijayanB commented Mar 20, 2024

We need to add "sleep" operation for at least 90s between delete/create/index/search for AOSS. Will be adding once
opensearch-project/opensearch-benchmark#485 is fixed

@VijayanB VijayanB force-pushed the add-aoss branch 4 times, most recently from 1be8bbd to a2b7127 Compare March 20, 2024 20:34
@VijayanB
Copy link
Member Author

@VijayanB VijayanB changed the title Add new procewdure for AOSS Add new procedure for AOSS Mar 20, 2024
@VijayanB
Copy link
Member Author

please backport to 1.x and 2.x

@VijayanB VijayanB requested a review from jmazanec15 March 21, 2024 20:15
@VijayanB
Copy link
Member Author

@IanHoang @rishabh6788 @gkamat Can i get review for this?

@VijayanB VijayanB force-pushed the add-aoss branch 2 times, most recently from 650ac1f to b9aa30b Compare March 22, 2024 22:44
@@ -16,6 +16,11 @@
"mappings": {
"dynamic": "strict",
"properties": {
{%- if id_field_name is defined and id_field_name != "_id" %}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The {%- syntax can probably be replaced by {% in this context.
Please add this workload parameter to the README for completeness.
Likewise, please add information on the new workload parameter files there as well.

Copy link
Member Author

@VijayanB VijayanB Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for review @gkamat . I updated PR. Can you please take a look at updated PR? Thanks.

AOSS doesn't allow users to pass value to "_id".
Hence, create a new procedure and param to support user defined
field "id" as unique field to identify document from index.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
@gkamat gkamat merged commit ddf643b into opensearch-project:main Mar 25, 2024
2 checks passed
@gkamat gkamat added backport 2 Backport to the "2" branch backport 3 Backport to the "3" branch labels Mar 25, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 25, 2024
AOSS doesn't allow users to pass value to "_id".
Hence, create a new procedure and param to support user defined
field "id" as unique field to identify document from index.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
(cherry picked from commit ddf643b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 25, 2024
AOSS doesn't allow users to pass value to "_id".
Hence, create a new procedure and param to support user defined
field "id" as unique field to identify document from index.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
(cherry picked from commit ddf643b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gkamat pushed a commit that referenced this pull request Mar 25, 2024
AOSS doesn't allow users to pass value to "_id".
Hence, create a new procedure and param to support user defined
field "id" as unique field to identify document from index.


(cherry picked from commit ddf643b)

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gkamat pushed a commit that referenced this pull request Mar 25, 2024
AOSS doesn't allow users to pass value to "_id".
Hence, create a new procedure and param to support user defined
field "id" as unique field to identify document from index.


(cherry picked from commit ddf643b)

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
harshavamsi pushed a commit to harshavamsi/opensearch-benchmark-workloads that referenced this pull request Jul 16, 2024
AOSS doesn't allow users to pass value to "_id".
Hence, create a new procedure and param to support user defined
field "id" as unique field to identify document from index.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2 Backport to the "2" branch backport 3 Backport to the "3" branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants