-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue/4244 delete index delete shard (#4270)
* Remove shards from ingesters on source/index deletion. The PR works by adding a RPC on ingester, to "retain shards": the control plane can send a list of shards that it expects to see on an indexer and the ingester deletes the shards that are not in that list. The control plane performs this RPC when a source is deleted, or what an index is deleted, or upon restart. This PR is incomplete and needs some work as described in #4274. The "retain" mechanics was preferred over sending the list of shard to remove precisely in prevision of #4274. Also - Bugfix in num shards metrics (we were returning the number of source) - Adding a ingester -> shard table in the control plane model Closes #4244. Co-authored-by: Adrien Guillo <[email protected]>
- Loading branch information
1 parent
7546a48
commit aab1e5e
Showing
10 changed files
with
1,012 additions
and
81 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.