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

Fix inconcistencies with caching GeoServer config infos #567

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

groldan
Copy link
Member

@groldan groldan commented Oct 26, 2024

Simplify CachingGeoServerFacade making it evict the whole in-memory cache upon each change or incoming event.

Trying to maintain too much logic to optimize per-object caching, specially for workspace ServiceInfo and SettingsInfo is too error prone and a maintenance burden.

Evicting the config cache is not a problem while changes are being performed, and during normal operation with no config changes it just serves its purpose.

@groldan groldan added the bugfix Pull request to fix a bug label Oct 26, 2024
Simplify `CachingGeoServerFacade` making it evict the
whole in-memory cache upon each change or incoming
event.

Trying to maintain too much logic to optimize per-object caching,
specially for workspace `ServiceInfo` and `SettingsInfo` is too
error prone and a maintenance burden.

Evicting the config cache is not a problem while changes are being
performed, and during normal operation with no config changes it
just serves its purpose.
@groldan groldan force-pushed the simplify_cachinggeoserverfacade branch from 858f283 to 0fedb83 Compare October 26, 2024 05:45
@groldan groldan merged commit ffdc5a6 into geoserver:main Oct 26, 2024
3 checks passed
@groldan groldan deleted the simplify_cachinggeoserverfacade branch October 26, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request to fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant