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

Schedule session index cleanup task only once. #75661

Merged
merged 3 commits into from
Sep 16, 2020

Conversation

azasypkin
Copy link
Member

Temporary workaround for #75501.

In this PR we're making sure that we schedule session index cleanup task only once. This is done to avoid scheduling of the task when Task Manager isn't able to serve request yet. It's an edge case that becomes more apparent in a development setup when we frequently wipe ES data without restarting Kibana.

The root cause isn't completely clear yet and will be investigated in #75501. I don't intend to merge this PR now, it is just our backup plan if we don't manage to fix original issue in 7.10 or the problem turns out to bigger than we think.

cc @gmmorris @elastic/kibana-security

@azasypkin azasypkin added blocker Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! Feature:Security/Authentication Platform Security - Authentication v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Aug 21, 2020
@azasypkin azasypkin requested a review from a team as a code owner August 21, 2020 15:02
Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

LGTM if we end up needing this workaround merged

@azasypkin
Copy link
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@azasypkin azasypkin merged commit 5f34d74 into elastic:master Sep 16, 2020
@azasypkin azasypkin deleted the issue-xxx-task-manager-workaround branch September 16, 2020 15:30
@azasypkin
Copy link
Member Author

7.x/7.10.0: 97b3863

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported blocker Feature:Security/Authentication Platform Security - Authentication release_note:skip Skip the PR/issue when compiling release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants