-
Notifications
You must be signed in to change notification settings - Fork 181
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
add fallback option for session related scenarios #3083
add fallback option for session related scenarios #3083
Conversation
8ff74cd
to
3bdfb34
Compare
/ok-to-test |
be12e4e
to
8fbfe2c
Compare
fallback is to restart the container
8fbfe2c
to
54f5c33
Compare
@@ -256,10 +291,10 @@ func (l *ListViewImpl) SetListViewNotReady(ctx context.Context) { | |||
|
|||
func (l *ListViewImpl) connect() error { | |||
log := logger.GetLogger(l.ctx) | |||
log.Infof("waiting for lock before calling connect") | |||
log.Debugf("waiting for lock before calling connect") |
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.
Changing this to debug as the routine will call it every 30 seconds.
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.
/approve
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adikul30, deepakkinni, divyenpatel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
#3064 refactors the session management logic in
ListView package
. As a fallback option, if we still run into a state where the credentials are valid but we've not been able to get the listview into a ready state, we should restart the container. This will help customers not run into this state for an extended period of time.Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Testing done:
Validated by QE.
Special notes for your reviewer:
Release note: