-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leader: do not send empty aggregation initialization requests. (#2439)
Before this PR, this would happen if every report in the job was filtered (for example, because the report was GC'ed before the aggregation job was sent). DAP did not proscribe how to handle this; a Helper Janus would return an error, causing the aggregation job to become stuck. Now, instead of sending an empty aggregation initialization request, the Leader sends no request at all and continues processing as if it received an empty response. This will cause the aggregation job to be finished; the Helper will not know about this aggregation job, but that's OK since the aggregation job will not contribute anything to the eventual aggregate.
- Loading branch information
Showing
1 changed file
with
194 additions
and
24 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