-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing invalid docs from persistence. (#5206)
This PR filters out invalid docs from batches before persisting the batch. That way, they won't be persisted in the mrecordlog and the indexing pipeline will not have to parse them again (and log an error). This PR also improves a little bit on the metric for ingested docs. The num_docs and bytes metric now have a validity `label`, and the point at which they are measured is documented in the metric description. Closes #5205
- Loading branch information
1 parent
fbd78bc
commit a3f074e
Showing
4 changed files
with
133 additions
and
67 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
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