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

[map] [map-store] loadAll(boolean replaceExistingValues) doesn't reload the mapstore after cache.evictAll is called #10057

Closed
prabhu-nishant opened this issue Mar 9, 2017 · 6 comments

Comments

@prabhu-nishant
Copy link

@prabhu-nishant prabhu-nishant commented Mar 9, 2017

We have exposed the caches via JMX and we have defined a reloadCache functionality where in we first do a evictAll and then call loadAll(true). However it doesn't get keys and the cache is empty.

We often require reloadCache functionality in production in case of issues and this has been causing issues for a while after we migrated from 3.4 to 3.7

Expecting a reply

Thanks

@jerrinot
Copy link
Contributor

@jerrinot jerrinot commented Mar 9, 2017

@prabhu-nishant: what's your exact Hazelcast version?

@jerrinot jerrinot added this to the 3.9 milestone Mar 9, 2017
@prabhu-nishant
Copy link
Author

@prabhu-nishant prabhu-nishant commented Mar 9, 2017

3.7.1. The cache I am taking about is a MapStore. Is there any workaround till the time it gets fixed ?

@jerrinot
Copy link
Contributor

@jerrinot jerrinot commented Mar 9, 2017

can you try the latest 3.7.x? there was a bugfix in 3.7.4

@prabhu-nishant
Copy link
Author

@prabhu-nishant prabhu-nishant commented Mar 9, 2017

As per my observation loadAll(true) fails even if nothing is changed in the cache. Does the bugfix cover that as well?

@jerrinot
Copy link
Contributor

@jerrinot jerrinot commented Mar 9, 2017

I am not sure how to interpret "nothing is change in the cache". I recommend to always use the latest available patch release.

@prabhu-nishant
Copy link
Author

@prabhu-nishant prabhu-nishant commented Mar 9, 2017

What I meant was that we are not adding/deleting/updating keys in the cache. Just a simple reload empties the cache and it happens intermittently.

@tombujok tombujok self-assigned this Jul 10, 2017
@mmedenjak mmedenjak changed the title loadAll(boolean replaceExistingValues) doesn't reload the mapstore after cache.evictAll is called [map] [map-store] loadAll(boolean replaceExistingValues) doesn't reload the mapstore after cache.evictAll is called Jul 11, 2017
@tombujok tombujok closed this Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.