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

mds bug fixes #915

Merged
merged 1 commit into from
Oct 25, 2024
Merged

mds bug fixes #915

merged 1 commit into from
Oct 25, 2024

Conversation

jackiehanyang
Copy link
Collaborator

@jackiehanyang jackiehanyang commented Oct 25, 2024

Description

This pr includes two mds bug fixes:

  • surround dispatch calls with if (!dataSourceEnabled || (MDSOverviewState.selectedDataSourceId && MDSOverviewState.selectedDataSourceId !== "")) check to make sure when mds is enabled, we wait until the selected data source and selected data source id is ready before doing any dispatch calls. This saves us from seeing a transient error message says cannot get all detectors even though the page is actually functioning.
  • fix a bug in the way how we get dataSourceId in preview anomalies api, getting it from request body instead of as a parameter.

Issues Resolved

[List any issues this PR will resolve]

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: Jackie Han <[email protected]>
@jackiehanyang jackiehanyang merged commit d8f7380 into opensearch-project:main Oct 25, 2024
12 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 25, 2024
Signed-off-by: Jackie Han <[email protected]>
(cherry picked from commit d8f7380)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 25, 2024
Signed-off-by: Jackie Han <[email protected]>
(cherry picked from commit d8f7380)
jackiehanyang added a commit that referenced this pull request Oct 25, 2024
Signed-off-by: Jackie Han <[email protected]>
(cherry picked from commit d8f7380)

Co-authored-by: Jackie Han <[email protected]>
jackiehanyang added a commit that referenced this pull request Oct 25, 2024
Signed-off-by: Jackie Han <[email protected]>
(cherry picked from commit d8f7380)

Co-authored-by: Jackie Han <[email protected]>
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.

2 participants