-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IndexedDB: correct quota calculations after relaxed txns (Windows)
See comment in `IndexedDBContextImpl::bucket_size_map_` for full details. Briefly, * When a LevelDB write is not "synced" (in LDB parlance), LevelDB will keep the same file handles open after writing. * Some Windows APIs will not report the correct file size until after the file handle is closed. * One workaround is to simply open and close a file handle to the relevant file(s). This change also removes some usage of FileSystemProxy since we've decided not to move IDB to a different process. Bug: 1489517 Change-Id: Ie74fc76afeef74e5de258816f451511b8e9f3616 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4977286 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by: Jesse McKenna <jessemckenna@google.com> Reviewed-by: Ayu Ishii <ayui@chromium.org> Cr-Commit-Position: refs/heads/main@{#1217074}
- Loading branch information
Evan Stade
authored and
Chromium LUCI CQ
committed
Oct 30, 2023
1 parent
23ce9d9
commit 18ad3ab
Showing
8 changed files
with
104 additions
and
50 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
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