on 2018 Feb 01 1:51 PM
After enabling the persistent session feature we discovered that the persisted sessions are cached in the entityCacheRegion and not in the sessionCacheRegion.
Is there any way to enable the sessionCacheRegion?
Best regards,
Robert
Request clarification before answering.
thanks for your answer, we also came along with the same solution and replaced CachedPersistedSessionRepository with our own version. Hybris calculates the wrong cache key
wrong:
return new Object[] { SESSION, tenantId, sessionId };
correct:
return new Object[] { sessionId, tenantId, SESSION };
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
I have the same issue. I recently opened a ticket at SAP Hybris support. My investigation shows, that the issue is related to cache key calculation in class CachedPersistedSessionRepository, so there is no way to change it by configuration.
I currently try to overwrite the implementation, to use the right region, because we have some memory issues with the usage of entityCacheRegion. The problem is, that you cannot control the amount of cached sessions.
I will update the ticket, if I have some more information from Hybris support.
Regards
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.