Skip to content
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

Bug - Size parameter seems useless for stand-alone server cache (naive) #148

Open
nick-rv opened this issue Dec 8, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working Low

Comments

@nick-rv
Copy link
Collaborator

nick-rv commented Dec 8, 2022

According to the current cache implementation (573c3ce) the naive cache size can be set.

But this do not seem to make sense as the naive data structure is base on a map.
As in go language the map allocation is handled internally.
Thus the optional capacity is only a hint and not a limitation.

This is the reason why the following paramters seem useless :

  • conf.Configuration.Cache.Naive.MapSize
  • PGFS_CACHE_NAIVE_SIZE env variable
@nick-rv nick-rv added the Low label Dec 8, 2022
@nick-rv nick-rv changed the title Size parameter seems useless for stand-alone server cache (naive) Bug - Size parameter seems useless for stand-alone server cache (naive) Dec 8, 2022
@nick-rv nick-rv self-assigned this Dec 8, 2022
@benoitdm-oslandia benoitdm-oslandia added the bug Something isn't working label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Low
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants