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

Remove manual refresh for S3 integrations #1226

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Nov 2, 2023

Description

Instead of doing the refresh synchronously as part of integration installation, we configure the MV for autorefresh and let it run in the background. This can lead to some start-up time for integrations before showing data, but speeds up the installation process.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc 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.

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #1226 (d988429) into main (4c93be7) will decrease coverage by 0.01%.
Report is 4 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1226      +/-   ##
==========================================
- Coverage   44.07%   44.06%   -0.01%     
==========================================
  Files         329      329              
  Lines       19668    19672       +4     
  Branches     4735     4685      -50     
==========================================
  Hits         8669     8669              
- Misses      10422    10958     +536     
+ Partials      577       45     -532     
Flag Coverage Δ
dashboards-observability 44.06% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 87 files with indirect coverage changes

{table_name};
{table_name}
WITH (
auto_refresh = 'true',
Copy link
Collaborator

Choose a reason for hiding this comment

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

any option to configure refresh?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not really, can maybe look at adding it in a future release

@Swiddis Swiddis merged commit 80f112a into opensearch-project:main Nov 2, 2023
@Swiddis Swiddis deleted the fix-refresh branch November 2, 2023 23:20
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 2, 2023
(cherry picked from commit 80f112a)
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 Nov 2, 2023
(cherry picked from commit 80f112a)
Signed-off-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.

3 participants