Browse Source
Although the statuses for tasks are removed from the status store when their connector is deleted, their statuses are not removed when only the task is deleted, which happens in the case that the number of tasks for a connector is reduced. This commit adds logic for deleting the statuses for those tasks from the status store whenever a rebalance has completed and the leader of a distributed cluster has detected that there are recently-deleted tasks. Standalone is also updated to accomplish this. Unit tests for the `DistributedHerder` and `StandaloneHerder` classes are updated and an integration test has been added. Reviewers: Nigel Liang <nigel@nigelliang.com>, Konstantine Karantasis <konstantine@confluent.io>pull/8727/head
Chris Egerton
5 years ago
committed by
GitHub
8 changed files with 81 additions and 8 deletions
Loading…
Reference in new issue