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

client versions in cluster state dumps. #540

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GaryWKeim
Copy link
Contributor

@GaryWKeim GaryWKeim commented Jun 25, 2019

Copy link
Member

@anthonydahanne anthonydahanne left a comment

Choose a reason for hiding this comment

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

PR is approved but can't be merged because it's waiting for tc core and apis PRs to be merged - feel free to add the trace log or not

dump.addState("cluster", topologyService.getClusterCopy().toMap());
} else {
dump.addState("status", "This is a passive server, so it is unaware of connected clients and other stripe members.");
Copy link
Member

Choose a reason for hiding this comment

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

not version related, but nice to have, thank you

client.setVersion(versionObj.toString());
}
} catch (NoSuchFieldException | IllegalAccessException e) {
//
Copy link
Member

Choose a reason for hiding this comment

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

could be a trace log with "Client " + clientName + " does not have a version field set, probably because it's older

@jhouserizer
Copy link
Contributor

Is there a reason this was never merged?

@GaryWKeim
Copy link
Contributor Author

@myronkscott wanted to do it a different way. I don't know if he ever did it though.

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.

3 participants