You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Removing offline caches from persistent-session configuration bypasses critical safeguards against unbounded growth and stale entries, while deleting their size-limit CLI options breaks existing configurations.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The caching documentation omits the volatile-session exception, misleading operators into expecting memory limits on sessions and clientSessions to take effect when only offline cache limits remain supported in that mode.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Clarify volatile sessions ignore sessions and clientSessions cache limits
docs/guides/server/caching.adoc:159
Please retain the volatile-session exception: CacheConfigurator.configureSessionsCachesForVolatileSessions() still explicitly ignores limits on sessions and clientSessions (lines 282–294). Without that qualification, this example tells volatile-mode operators they can bound memory with an option that has no effect; the offline cache limits remain supported in that mode.
- Restore offline caches to CLUSTERED_MAX_COUNT_CACHES arrays to preserve persistent-session safeguards (memory bounds, single ownership, expiration-reaper config)
- Revert help snapshots to keep CLI cache max-count options which are independent of the deprecated SPI lifespan override options
- Fix documentation to remove incorrect claim that persistent sessions are mandatory - volatile sessions are still selectable
Signed-off-by: Ruchika <Ruchika.Jha1@ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the deprecated SPI configuration options for overriding offline session cache entry lifespans:
spi-user-sessions--infinispan--offline-session-cache-entry-lifespan-overridespi-user-sessions--infinispan--offline-client-session-cache-entry-lifespan-overrideCloses #40981