-
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.
Scrub batch aggregations once we are done with them. (#2694)
Specifically, we scrub batch aggregations whose aggregate shares have been rolled into collection jobs (for the Leader) or aggregate share jobs (for the Helper). To make this work out, the Leader also has to be able to borrow collection job results from a duplicate collection job. (The Helper was already borrowing results from identical aggregate share jobs.) Note that we can't simply delete the relevant batch aggregations: doing so might make us miss a contended write by a concurrent aggregation job step, which is required to ensure that aggregation jobs can't concurrently update the batch aggregations. (At the Repeatable Read isolation level, write contention can only happen on extant rows.)
- Loading branch information
Showing
13 changed files
with
1,041 additions
and
540 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.