-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the serialize deserialization of the indexing state to include
shard lists. Before this, there was no notion of shards and indexers were just exposing the number of pipelines per source_uid. With ingest v2, the list of shard is part of indexing tasks, and the control plane wants to diff against it. The serialization format goes `[1,2][3]` to express two pipelines with respectively shard [1,2] and `[3]`. For a source that does not have notion of shards, like kafka, two pipelines simply look as follows: `[][]` Also took it as an opportunity to clean up the code and increase the test coverage. Closes #4174
- Loading branch information
1 parent
3f18626
commit 0718b86
Showing
4 changed files
with
252 additions
and
139 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
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.