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

WFLY-12165 Expose management metrics for HotRod caches #12461

Merged
merged 14 commits into from Sep 3, 2019

Conversation

pferraro
Copy link
Contributor

@bstansberry bstansberry added Feature PR provides a new feature missing-reqs Features missing one or more of the pre-merge requirements labels Jul 30, 2019
@wildfly-ci wildfly-ci added the deps-ok Dependencies have been checked, and there are no significant changes label Jul 30, 2019
@pferraro pferraro force-pushed the hotrod branch 3 times, most recently from 6f67f86 to 06001ac Compare August 6, 2019 11:47
@pferraro pferraro force-pushed the hotrod branch 6 times, most recently from a57fe4f to 2201f83 Compare August 19, 2019 21:38
@jamezp jamezp added missing-reqs Features missing one or more of the pre-merge requirements and removed missing-reqs Features missing one or more of the pre-merge requirements labels Aug 20, 2019
Copy link
Member

@jamezp jamezp left a comment

Choose a reason for hiding this comment

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

We should add some transformer tests to this for the new attribute.

@pferraro
Copy link
Contributor Author

pferraro commented Aug 22, 2019

We should add some transformer tests to this for the new attribute.

The trivial conversion is already covered, but I'll make sure this is covered by the rejection tests. Done.

Copy link
Contributor

@tommaso-borgato tommaso-borgato left a comment

Choose a reason for hiding this comment

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

looks in sync with TP

result = execute(this.client3, readResource);
Assert.assertEquals(0L, result.get("hits").asLong());
Assert.assertEquals(0L, result.get("writes").asLong());
}
Copy link
Contributor

Choose a reason for hiding this comment

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

@pferraro test sequence is:

response = client.execute(new HttpGet(uri1));
response = client.execute(new HttpGet(uri2));
response = client.execute(new HttpGet(uri3));

lifecycle.stop(NODE_1);

response = client.execute(new HttpGet(uri2));
response = client.execute(new HttpGet(uri2));
response = client.execute(new HttpGet(uri3));
response = client.execute(new HttpGet(uri3));

lifecycle.start(NODE_1);

response = client.execute(new HttpGet(uri2));
response = client.execute(new HttpGet(uri2));
response = client.execute(new HttpGet(uri3));

lifecycle.stop(NODE_2);

response = client.execute(new HttpGet(uri1));
response = client.execute(new HttpGet(uri1));
response = client.execute(new HttpGet(uri3));
response = client.execute(new HttpGet(uri3));

lifecycle.start(NODE_2);

response = client.execute(new HttpGet(uri1));
response = client.execute(new HttpGet(uri1));

hence, NODE_2 never gets hit after restart: that's the reason why it's statistics remain at 0, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct.

@jamezp jamezp removed the missing-reqs Features missing one or more of the pre-merge requirements label Aug 28, 2019
@kabir
Copy link
Contributor

kabir commented Aug 31, 2019

Retest this please

@kabir
Copy link
Contributor

kabir commented Aug 31, 2019

@tommaso-borgato @pferraro Am I reading it right that if this passes it can be merged?

@bstansberry bstansberry merged commit 264d864 into wildfly:master Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes Feature PR provides a new feature
Projects
None yet
6 participants