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

LRUCache: cache will unload currently used tiles when sharing #684

Open
gkjohnson opened this issue Aug 9, 2024 · 0 comments
Open

LRUCache: cache will unload currently used tiles when sharing #684

gkjohnson opened this issue Aug 9, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@gkjohnson
Copy link
Contributor

If an LRUCache is shared between multiple tile renderers and suddenly only a single tile set is updated then all the tiles will be marked unused and tiles from the non-updated tileset will be removed even though they're visible.

The solution is to explicitly mark and unmark tiles as used and unused in the LRCache per tiles renderer so sibling renderers are not affected.

@gkjohnson gkjohnson added this to the v0.3.38 milestone Aug 9, 2024
@gkjohnson gkjohnson added the bug Something isn't working label Aug 9, 2024
@gkjohnson gkjohnson modified the milestones: v0.3.38, v0.3.37, v0.4.0 Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant