-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvs_backed_cache: Avoid no-op commit corrupting the cache
The recent commit a5ca269 introduced a bug whereby committing an AsyncCache::TransactionNode that leaves the value unmodified could result in: - the timestamp unnecessarily being set to `absl::InfinitePast()`, leading to unnecessary re-reads; or - the data value incorrectly being set to nullptr, leading to incorrect read results. PiperOrigin-RevId: 599336761 Change-Id: I75b6e91db691b48e8821ce172b7551cbcf1c2b69
- Loading branch information
1 parent
cc3463e
commit 70b16ae
Showing
4 changed files
with
70 additions
and
30 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
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