datenlord icon indicating copy to clipboard operation
datenlord copied to clipboard

Global cache cannot handle file with same name

Open pzheng1025 opened this issue 3 years ago • 0 comments

Current global cache is a hashmap. key is file name, value is cached data. https://github.com/datenlord/datenlord/blob/master/src/async_fuse/memfs/cache/mod.rs#L39 It cannot handle files with same name.

Consider using global unique id as key.

pzheng1025 avatar Dec 10 '21 06:12 pzheng1025