Optimize blobovnicza caching #2180
Labels
discussion
Open discussion of some problem
enhancement
Improving existing functionality
neofs-storage
Storage node application issues
There are multiple problems with the current scheme:
opened_cache_size
can actually be violated: actual amount of opened files islen(active) + opened_cache_size
.opened cache contains filled blobovniczas
is no longer true.I propose to refactor it like this:
width
anddepth
parameters are very big compared toopened_cache_size
, print a warning in logs.active
index exceeds width we should start again from 0 and, possibly, perform VACUUM.The text was updated successfully, but these errors were encountered: