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

ISPN-8918 When a cache is stopped and restarted, its configuration re… #5817

Merged
merged 1 commit into from Mar 7, 2018

Conversation

rhusar
Copy link
Member

@rhusar rhusar commented Mar 5, 2018

…ference within component registry is not refreshed with defineConfiguration/undefineConfiguration

When a cache is stopped and restarted, its configuration reference within component registry is not refreshed with defineConfiguration/undefineConfiguration.
The problem is that org/infinispan/factories/ComponentRegistry.java:77 is only called once the cache is being wired thus registerComponent(configuration, Configuration.class); is the only place where the configuration is put into the registry.
The best solution is to remove the cache in TERMINATED state once configuration is undefined thus establishing a clear terminal lifecycle.

Jira
https://issues.jboss.org/browse/ISPN-8918

Workaround is possible in wildfly, so not urgent.

…ference within component registry is not refreshed with defineConfiguration/undefineConfiguration
@rhusar
Copy link
Member Author

rhusar commented Mar 6, 2018

Hey @tristantarrant since you did the intial implementation for undefining caches (https://issues.jboss.org/browse/ISPN-5033) you might want to take a look. Thx!

@galderz
Copy link
Member

galderz commented Mar 7, 2018

@rhusar, looks good. What implementation of ISPN-5033? You mean ISPN-8918?

@galderz galderz merged commit 4be226e into infinispan:master Mar 7, 2018
@rhusar rhusar deleted the ISPN-8918 branch March 8, 2018 15:38
Copy link
Member

@pferraro pferraro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rhusar
Copy link
Member Author

rhusar commented Mar 8, 2018

Too late @pferraro, too late :-)

@rhusar
Copy link
Member Author

rhusar commented Mar 8, 2018

@galderz I did mean the original author of underfineConfiguration, so yes https://issues.jboss.org/browse/ISPN-5033 -- thanks for the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants