-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage/inmem: Create path if does not exist during truncate (#4853)
A data write performed at a non-root nonexistent path in the im-memory store during a trucnate op would cause a storage not found error. This change creates a path if one does not exist before writing data. Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com> (cherry picked from commit cfa5c6e)
- Loading branch information
1 parent
9b5fb9b
commit fa6ccbc
Showing
2 changed files
with
65 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