Skip to content

Dont schedule indexing tasks on retiring indexers#6427

Open
ncoiffier-celonis wants to merge 3 commits into
mainfrom
6413-dont-schedule-indexing-tasks-on-retiring-indexers
Open

Dont schedule indexing tasks on retiring indexers#6427
ncoiffier-celonis wants to merge 3 commits into
mainfrom
6413-dont-schedule-indexing-tasks-on-retiring-indexers

Conversation

@ncoiffier-celonis
Copy link
Copy Markdown
Collaborator

Description

Attempt to fix #6413

This PR tracks the ingester status in the control plane indexer pools, and avoid to schedule indexing tasks on retiring indexers.

Special case: for a single node indexer (for example most of the integration tests), we still need to schedule indexing tasks on retiring indexers, otherwise the shards are never "drained", and the decomission process times out without publishing the splits.

Todo:

  • need to add unit tests for tracking the ingester status in the control plane indexer pool
  • I'm not sure how I can create an integration test that reproduce the bug without leaking the shard assignment details to the outside

How was this PR tested?

Not tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indexers not gracefully terminating and getting force killed

1 participant