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-4056 Enable caching of permission masks to cluster registry #2618

Conversation

tristantarrant
Copy link
Member

https://issues.jboss.org/browse/ISPN-4056

also fixes a couple of bugs that were affecting the test.

@@ -219,7 +219,7 @@ TransportConfigurationBuilder read(TransportConfiguration template) {
this.properties = template.properties();
this.rackId = template.rackId();
this.siteId = template.siteId();
this.transport = template.transport();
this.transport = Util.getInstance(template.transport().getClass().getName(), template.transport().getClass().getClassLoader());
Copy link
Member

Choose a reason for hiding this comment

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

@tristantarrant doesn't WildFly rely on injecting an actual Transport instance with a JChannel set? If not, I would propose going further, and removing the Transport (and any other objects that cannot be safely reused between caches/managers) from the configuration.

Copy link
Member Author

Choose a reason for hiding this comment

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

The server uses the default tranport but sets a number of additional properties to configure the channel lookup.

Copy link
Member

Choose a reason for hiding this comment

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

So how do you feel about removing the Transport from the configuration altogether?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm I was mistaken, our "Infinispan Server" code still uses that method, but the new WildFly code uses a custom transport which extends JGroupsTransport and is constructed specifically.

@tristantarrant
Copy link
Member Author

Closing for now, will come back with more stuff

@danberindei
Copy link
Member

Ah, I was hoping it's closed because someone integrated it already :)

@tristantarrant tristantarrant deleted the ISPN-4056/cache_perm_masks branch May 6, 2015 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants