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

[EJBCLIENT-193] Implement affinity substitution #200

Merged
merged 2 commits into from
Feb 7, 2017

Conversation

fjuma
Copy link
Contributor

@fjuma fjuma commented Feb 7, 2017

fjuma added 2 commits February 7, 2017 16:48
…in order to allow the ProtocolV3ObjectResolver to get invoked when unmarshalling an Affinity.LOCAL instance
final class ProtocolV3ObjectResolver implements ObjectResolver {
private final Affinity peerURIAffinity;

ProtocolV3ObjectResolver(final URI peerURI) {
Copy link
Member

Choose a reason for hiding this comment

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

I think this is the local URI not the peer's URI, right? Or am I reading this backwards?

Copy link
Member

Choose a reason for hiding this comment

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

Ah I see, we swap on the opposite end for V3 than we do in V1, just like we discussed. Never mind!

@@ -100,7 +100,6 @@
final Object[] simpleObjects = {
TransactionID.PRIVATE_DATA_KEY,
Affinity.NONE,
Affinity.LOCAL,
Copy link
Member

Choose a reason for hiding this comment

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

Ah, forgot about that...

@dmlloyd dmlloyd merged commit 6092aa9 into wildfly:master Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants