-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Seems like a bug... #187
Comments
Sorry that I won't get a chance to dig into this immediately. Thanks a lot for the test case and I will try to prioritize it. I am trying to take a look tonight, but I can see how this week is going. |
I think the reason is because you only redefined The test was failing at the 3rd invoke and now fails on the 4th. Need to debug that next. |
The second issue seems to be due to EntryProcessorEntry#setValue. The entry action is |
Please try master (use snapshot repository). I ported your unit test and it seems to pass. I don't think that I can change the |
Okay, I'll add the configs in my |
Let me know how it goes. I can give you a release when I get the thumbs up. |
Seems to be working perfectly. Thank you! |
Released |
I'm doing an update on a cached entry using an
EntryProcessor
. The first time that I callcache.invoke()
, the non-existing value is inserted into the cache and a second call tocache.invoke()
does not trigger aloader.load()
.Once the cached entry is expired however, any subsequent calls to
cache.invoke()
always trigger a call toloader.load()
.Here's a test case:
application.conf:
Should that 4th call to
cache.invoke()
be loading from the loader?The text was updated successfully, but these errors were encountered: