-
Notifications
You must be signed in to change notification settings - Fork 434
Stop Android storage entries coming back empty after an abrupt shutdown #5579
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
b28377d
Stop Android storage entries coming back empty after an abrupt shutdown
shai-almog d480d60
Address review: publish failures, scratch namespace, delete/publish race
shai-almog 731413d
Register a storage write under the same lock that cancels one
shai-almog 251bcf8
Fix the PMD CloseResource gate and park the EDT for batched AR event …
shai-almog fc4d9d9
Address review: multi-process sweeping, clearStorage, scratch naming,…
shai-almog a3c5906
Address review: path escape, cross-process deletion, and sweep expiry
shai-almog 41a1dbc
Address review: abandon before logging, and lock creation across proc…
shai-almog 0d2a356
Keep the lock file out of the scratch cleanup loops
shai-almog fd1ef94
Never call a vanished scratch file a successful write, and keep the h…
shai-almog e703d23
A failed write must not delete the value that was already stored
shai-almog 69b1490
Leave the liveness markers alone when clearing the storage
shai-almog e2680be
Give up the write that failed, not every write to the same entry
shai-almog db1ac3e
Keep the streaming API streaming; replace the entry only for whole va…
shai-almog 63a28ba
Sweep under the lock the other processes start their writes with
shai-almog 87a517e
Clear the liveness lock when the claim fails, and let the tidy up fai…
shai-almog 42f5ee3
Keep writeObject going through a custom Storage's own streams
shai-almog 44905e3
Do not let the incarnation cleanup delete a write this process has open
shai-almog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.