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

[cache] Implement delayed resolution for other types in CacheConfig #11905

Closed
lprimak opened this issue Dec 1, 2017 · 0 comments
Closed

[cache] Implement delayed resolution for other types in CacheConfig #11905

lprimak opened this issue Dec 1, 2017 · 0 comments

Comments

@lprimak
Copy link
Contributor

@lprimak lprimak commented Dec 1, 2017

In addition to key and value types, the following need to be deferred:
cacheLoaderFactory, cacheWriterFactory, expiryPolicyFactory and listenerConfigurations
The above also rely for their classes to exist in current Class Loader and may not,
causing the node initialization failures.

There should be a similar fix for these as in key and value types.
Suggestion would be to transfer an array of bytes rather than objects for these values,
and actually de-serialize them only when needed.

Base issue: #8972 and PR #10874

Related Issue #10728
Related Pull Request #11513

@mmedenjak mmedenjak added this to the 3.10 milestone Dec 2, 2017
@taburet taburet added Team: Core and removed Team: Core labels Jan 22, 2018
lprimak added a commit to flowlogix/hazelcast that referenced this issue Jan 31, 2018
just like key / value types in case classes are not available at
pre-join time
fixes hazelcast#11905
lprimak added a commit to flowlogix/hazelcast that referenced this issue Feb 1, 2018
just like key / value types in case classes are not available at
pre-join time
fixes hazelcast#11905
vbekiaris added a commit to vbekiaris/hazelcast that referenced this issue Feb 23, 2018
just like key / value types in case classes are not available at
pre-join time
fixes hazelcast#11905
lprimak added a commit to flowlogix/hazelcast that referenced this issue Feb 25, 2018
just like key / value types in case classes are not available at
pre-join time
fixes hazelcast#11905
vbekiaris added a commit to vbekiaris/hazelcast that referenced this issue Mar 26, 2018
just like key / value types in case classes are not available at
pre-join time
fixes hazelcast#11905

(cherry picked from commit 673eb5a)
vbekiaris added a commit that referenced this issue Apr 2, 2018
just like key / value types in case classes are not available at
pre-join time
fixes #11905

(cherry picked from commit 673eb5a)
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.

4 participants