Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update No Duplicate Rule to signify that it is Shared Id that can't appear in more than one job, not the reports. #1478

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

preethiraghavan1
Copy link

With contribution filtering implementation done, the filtering ID is included in the Shared ID generation. Since the data is disjoint between filtering IDs, a report can appear in multiple batches as long as their Shared IDs are not the same across them. This warrants an update to the No Duplicate rule because it is not the reports that shouldn't be duplicated, but the underlying data represented by Shared ID, that shouldn't be.

Updating No Duplicate rule to say that the Shared Id can't be in more than one batch even though the reports can be shared.

With contribution Filtering, the filtering Id is included in the Shared ID generation. So, the reports can feature in different batches, but the Shared ID representing the disjoint data in them, can't be.
AGGREGATION_SERVICE_TEE.md Outdated Show resolved Hide resolved
Co-authored-by: Andrew Paseltiner <[email protected]>
@apasel422 apasel422 requested review from linnan-github and removed request for apasel422 December 17, 2024 15:47
@@ -243,7 +244,7 @@ single aggregation batch (as duplicates) or in multiple batches. Because
of this, the aggregation service enforces a "no duplicates" rule:

* No aggregatable report can appear more than once within a batch.
* No aggregatable report can appear in more than one batch or contribute
* No Shared ID can appear in more than one batch or contribute
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does 'Or contribute' mean in this context?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants