Skip to content

Preventing exceptions on node shutdown in integration tests#88827

Merged
masseyke merged 6 commits intoelastic:mainfrom
masseyke:fix/integration-test-shutdown-failure
Jul 28, 2022
Merged

Preventing exceptions on node shutdown in integration tests#88827
masseyke merged 6 commits intoelastic:mainfrom
masseyke:fix/integration-test-shutdown-failure

Conversation

@masseyke
Copy link
Copy Markdown
Member

On node shutdown, CoordinationDiagnosticsService.fetchClusterFormationInfo() can throw an exception because we schedule a task without checking whether the node is being shut down.
Closes #88759

@masseyke masseyke added >non-issue :Distributed/Health Issues for the health report API v8.4.0 labels Jul 26, 2022
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine elasticsearchmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jul 26, 2022
@mark-vieira mark-vieira added v8.5.0 and removed v8.4.0 labels Jul 27, 2022
@masseyke masseyke requested a review from andreidan July 27, 2022 16:27
Copy link
Copy Markdown
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

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

LGTM thanks for fixing this

@masseyke masseyke merged commit 664c12c into elastic:main Jul 28, 2022
@masseyke masseyke deleted the fix/integration-test-shutdown-failure branch July 28, 2022 13:35
masseyke added a commit to masseyke/elasticsearch that referenced this pull request Jul 28, 2022
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.4

weizijun added a commit to weizijun/elasticsearch that referenced this pull request Jul 29, 2022
* upstream/main:
  Add 8.5 migration docs (elastic#88923)
  Script: Reindex & UpdateByQuery Metadata (elastic#88665)
  Remove unused plugins dir var from server CLI (elastic#88917)
  Use tracing API in TaskManager (elastic#88885)
  Add source fallback for keyword fields using operation (elastic#88735)
  Prune changelogs after 8.3.3 release
  Bump versions after 8.3.3 release
  Add a test for checking for misspelled "dry_run" parameters for Desired Nodes API (elastic#88898)
  Speedup BalanceUnbalancedClusterTests (elastic#88794)
  Preventing exceptions on node shutdown in integration tests (elastic#88827)
  Do not trigger check part3 for test mute and docs PRs (elastic#88895)
  Add troubleshooting docs about data corruption (elastic#88760)
  Mute RollupActionSingleNodeTests#testRollupDatastream (elastic#88891)
  [DOCS] Domain splitting impacts API keys (elastic#88677)
  Fix SqlSearchIT testAllTypesWithRequestToOldNodes (elastic#88866) (elastic#88883)
  Update synthetic-source.asciidoc (elastic#88880)
  Log more details in TaskAssertions (elastic#88864)
  Make Tuple a record (elastic#88280)
@mark-vieira mark-vieira added v8.4.0 and removed v8.4.1 labels Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Health Issues for the health report API >non-issue Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v8.4.0 v8.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] TransportMonitoringMigrateAlertsActionTests classMethod failing

4 participants