Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shared Storage: Migrate database to have a per-key last-write time.
We now intend to use per-key expiration instead of database expiration. This change performs a database migration to include a new column `last_used_time` in `values_mapping`. (We do not make the new column name more specific to writes in case we decide in future to update it on other accesses.) We also take the opportunity to rename `per_origin_mapping`'s `last_used_time` column to `creation_time`, to better reflect what it is now being used for. Follow-up(s) will implement the new expiration process based on the new per-key `last_used_time`. Bug: 1218540,1385197 Change-Id: Iadb50314d637a6ae933c9d7239c578aeccf44ecf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4029459 Reviewed-by: Yao Xiao <yaoxia@chromium.org> Reviewed-by: Ayu Ishii <ayui@chromium.org> Commit-Queue: Cammie Smith Barnes <cammie@chromium.org> Cr-Commit-Position: refs/heads/main@{#1075335}
- Loading branch information
1 parent
859c521
commit 043ce5f
Showing
20 changed files
with
1,216 additions
and
414 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
Oops, something went wrong.