-
Notifications
You must be signed in to change notification settings - Fork 624
Remove shared index entries #3138
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
Conversation
cc @wu-hui |
Coverage ReportAffected SDKs
Test Logs
NotesHTML coverage reports can be produced locally with Head commit (9abb3bbc) is created by Prow via merging commits: 0e612ea 16f7d40. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm for merging this into your other branch
11811f8
to
aca400a
Compare
Binary Size ReportAffected SDKs
Test Logs
NotesHead commit (9abb3bbc) is created by Prow via merging commits: 0e612ea 16f7d40. |
This PR makes it so that all index entries are scoped to a user, which removes shared index entries for documents that are not mutated. For apps that use multiple users this means that we will keep more index entries, but in the general case it means that we keep one less (instead of keeping the unmodified value + the modified value for single user indices, we now just keep one).
This means that each index now has a different backfill state per user. If a new user signs in, we need to start backfill from zero. We likely need an additional data structure for that.