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 #562

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler 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.

Other line changes are formatting done by prettier.

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

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
  • 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: Tyler Ohlsen <ohltyler@amazon.com>
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #562 (56056d8) into main (3863e46) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #562      +/-   ##
==========================================
+ Coverage   50.25%   50.28%   +0.02%     
==========================================
  Files         166      166              
  Lines        5593     5590       -3     
  Branches     1055     1055              
==========================================
  Hits         2811     2811              
+ Misses       2511     2508       -3     
  Partials      271      271              

see 1 file with indirect coverage changes

@ohltyler ohltyler merged commit a334f08 into opensearch-project:main Jul 20, 2023
12 of 15 checks passed
@ohltyler ohltyler deleted the limit-increase branch July 20, 2023 02:02
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 20, 2023
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit a334f08)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 20, 2023
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit a334f08)
ohltyler added a commit that referenced this pull request Jul 20, 2023
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit a334f08)

Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
ohltyler added a commit that referenced this pull request Jul 20, 2023
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit a334f08)

Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants