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

Optimize fetching of augment-vis saved objects #659

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

lezzago
Copy link
Member

@lezzago lezzago commented Jul 20, 2023

Description

Updates saved object loader findAll() calls to include a hasReference argument so only objects that include the desired vis ID as a reference will be fetched. Part of opensearch-project/OpenSearch-Dashboards#4595.

Tested against cluster with the change in OSD, works as expected.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #659 (f8bfc04) into main (18c5e1d) will not change coverage.
The diff coverage is n/a.

❗ Current head f8bfc04 differs from pull request most recent head e47d290. Consider uploading reports for the commit e47d290 to get more accurate results

@@           Coverage Diff           @@
##             main     #659   +/-   ##
=======================================
  Coverage   49.99%   49.99%           
=======================================
  Files         231      231           
  Lines        6509     6509           
  Branches      927      927           
=======================================
  Hits         3254     3254           
  Misses       3252     3252           
  Partials        3        3           

@lezzago lezzago merged commit 0dd05f8 into opensearch-project:main Jul 20, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 20, 2023
* Optimize fetching of augment-vis saved objects

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

* address comment

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

---------

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
(cherry picked from commit 0dd05f8)
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 Jul 20, 2023
* Optimize fetching of augment-vis saved objects

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

* address comment

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>

---------

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
(cherry picked from commit 0dd05f8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
lezzago pushed a commit that referenced this pull request Jul 20, 2023
* Optimize fetching of augment-vis saved objects



* address comment



---------


(cherry picked from commit 0dd05f8)

Signed-off-by: Ashish Agrawal <ashisagr@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>
lezzago pushed a commit that referenced this pull request Jul 20, 2023
* Optimize fetching of augment-vis saved objects



* address comment



---------


(cherry picked from commit 0dd05f8)

Signed-off-by: Ashish Agrawal <ashisagr@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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants