-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open cache in r/o mode on
no space left
errors (#1375)
Since protected cache could be used as a static cache it is expected to be able to use it even when there is no available space on device. But when protected cache is being open in R/W mode levelDb may try to create some files and this failure would be treated later as a corrupted cache. Instead, on `no space left` errors we will try to open the cache again but in read-only mode to enforce static behavior. Relates-To: OLPSUP-21193 Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>
- Loading branch information
1 parent
94402c9
commit ccdf6ec
Showing
3 changed files
with
25 additions
and
0 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