-
Notifications
You must be signed in to change notification settings - Fork 119
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
Notebooks add index refresh, remove SQL check in paragraph #1065
Conversation
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
cy.reload(); | ||
// Force refresh the observablity index and reload page to load notebooks. | ||
if (loadedOnce === 0) { | ||
cy.request({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this refresh only execute once after moveToNotebookHome
call. Is this by intentionally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, once the refresh is complete then new notebook is loaded. Internally, Observability index notebook doc Id in lucene is committed after creation and refresh and doesn't need a refresh for document updates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> (cherry picked from commit f45cdf7)
Description
Notebooks add index refresh, remove SQL check in paragraph
Issues Resolved
#897
Check List
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.