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
we get idsArgument from CollectionCacheableCacheInterceptor#injectCollectionArgument.
but when args have the same id params, we will get repeated id in idsArgument.
Then when the method run into CollectionCacheableCacheInterceptor#findIdsInCache
because idsArgument is run in loop,if have two or more same id occur. The first id hit cache will put into cacheResult.
At that time, if cache expired. The next the id will not match cache and then get result from DB, then put the result into uncachedResult.
when merge uncachedResult and cacheResult. The returnValue will occur two or more same id result when use ListReturnValueConverter
The text was updated successfully, but these errors were encountered:
we get idsArgument from CollectionCacheableCacheInterceptor#injectCollectionArgument.
but when args have the same id params, we will get repeated id in idsArgument.
Then when the method run into CollectionCacheableCacheInterceptor#findIdsInCache
because idsArgument is run in loop,if have two or more same id occur. The first id hit cache will put into cacheResult.
At that time, if cache expired. The next the id will not match cache and then get result from DB, then put the result into uncachedResult.
when merge uncachedResult and cacheResult. The returnValue will occur two or more same id result when use ListReturnValueConverter
The text was updated successfully, but these errors were encountered: