commit | fe86a021141fc85658419f86d1250b51bb2d00b8 | [log] [tgz] |
---|---|---|
author | Abigail Katcoff <abigailkatcoff@chromium.org> | Tue Dec 05 16:35:13 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 05 16:35:13 2023 |
tree | 04710f42ab0bb0bb1b8b673686e09cc3553ba558 | |
parent | 347b5137127735d32b90afa154848862300fabc2 [diff] |
Protected Audiences: Fix Interest Group Cache Coherence Currently, OnLoadInterestGroupsForOwner and OnLoadInterestGroupsForOwnerOneCallback could save outdated values to the cache because they do not check if the value is outdated before saving it. The prior solution to this problem (https://chromium-review.googlesource.com/c/chromium/src/+/5039710) was insufficient, because it does not address situations that can arise from interwoven invalidations and reads. For example: 1. Start Read 2. Invalidate (Join Interest group) 3. Start Read 4. Invalidate (Join Interest group) 5. Start Read 6. Read from 1 completes 7. Read from 3 completes 8. Read (gets invalidated cache data from the 3 Read). 9. Read 5 completes Version the callbacks stored in InterestGroupCachingStorage. Change-Id: Ia1a2a15499830159f669218aee727110b33ec795 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5081993 Reviewed-by: Russ Hamilton <behamilton@google.com> Commit-Queue: Abigail Katcoff <abigailkatcoff@chromium.org> Cr-Commit-Position: refs/heads/main@{#1233382}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.