-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Enterprise Search] Fix logic for long running and orphaned jobs #145714
Merged
sphilipse
merged 2 commits into
elastic:main
from
sphilipse:ent-search-fix-long-running-stats
Nov 22, 2022
Merged
[Enterprise Search] Fix logic for long running and orphaned jobs #145714
sphilipse
merged 2 commits into
elastic:main
from
sphilipse:ent-search-fix-long-running-stats
Nov 22, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sphilipse
added
release_note:skip
Skip the PR/issue when compiling release notes
Team:EnterpriseSearch
v8.6.0
v8.7.0
labels
Nov 18, 2022
sphilipse
changed the title
[Enterprise Search] Fix logic for long running jobs selection
[Enterprise Search] Fix logic for long running and orphaned jobs
Nov 18, 2022
sphilipse
force-pushed
the
ent-search-fix-long-running-stats
branch
2 times, most recently
from
November 21, 2022 11:04
0045dff
to
1e67574
Compare
sphilipse
force-pushed
the
ent-search-fix-long-running-stats
branch
from
November 21, 2022 11:05
1e67574
to
274f5ee
Compare
💚 Build Succeeded
Metrics [docs]Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
byronhulcher
approved these changes
Nov 21, 2022
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
sphilipse
added a commit
to sphilipse/kibana
that referenced
this pull request
Nov 29, 2022
…stic#145714) This fixes the logic for long-running connector sync jobs: they should look at started_at rather than last_seen. It also fixes the logic for orphaned jobs, which were displaying the opposite of what they should have been displaying. (cherry picked from commit 2e178f8)
sphilipse
added a commit
that referenced
this pull request
Nov 29, 2022
#145714) (#146514) # Backport This will backport the following commits from `main` to `8.6`: - [[Enterprise Search] Fix logic for long running and orphaned jobs (#145714)](#145714) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sander Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2022-11-22T13:27:46Z","message":"[Enterprise Search] Fix logic for long running and orphaned jobs (#145714)\n\nThis fixes the logic for long-running connector sync jobs: they should\r\nlook at started_at rather than last_seen.\r\nIt also fixes the logic for orphaned jobs, which were displaying the\r\nopposite of what they should have been displaying.","sha":"2e178f8f450ad6019903af17881c8368806816c8","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.6.0","v8.7.0"],"number":145714,"url":"https://github.com/elastic/kibana/pull/145714","mergeCommit":{"message":"[Enterprise Search] Fix logic for long running and orphaned jobs (#145714)\n\nThis fixes the logic for long-running connector sync jobs: they should\r\nlook at started_at rather than last_seen.\r\nIt also fixes the logic for orphaned jobs, which were displaying the\r\nopposite of what they should have been displaying.","sha":"2e178f8f450ad6019903af17881c8368806816c8"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145714","number":145714,"mergeCommit":{"message":"[Enterprise Search] Fix logic for long running and orphaned jobs (#145714)\n\nThis fixes the logic for long-running connector sync jobs: they should\r\nlook at started_at rather than last_seen.\r\nIt also fixes the logic for orphaned jobs, which were displaying the\r\nopposite of what they should have been displaying.","sha":"2e178f8f450ad6019903af17881c8368806816c8"}}]}] BACKPORT-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
release_note:skip
Skip the PR/issue when compiling release notes
Team:EnterpriseSearch
v8.6.0
v8.7.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes the logic for long-running connector sync jobs: they should look at started_at rather than last_seen.
It also fixes the logic for orphaned jobs, which were displaying the opposite of what they should have been displaying.