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
Conversation
6f67f86
to
06001ac
Compare
.../java/org/jboss/as/clustering/infinispan/subsystem/remote/RemoteCacheContainerOperation.java
Outdated
Show resolved
Hide resolved
a57fe4f
to
2201f83
Compare
There was a problem hiding this 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.
...jboss/as/clustering/infinispan/subsystem/remote/InvalidationNearCacheResourceDefinition.java
Show resolved
Hide resolved
|
…ility name resolver.
…d cache managers and caches
…od client communicates.
…ter docs into Infinispan subsystem docs.
There was a problem hiding this 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()); | ||
} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct.
Retest this please |
@tommaso-borgato @pferraro Am I reading it right that if this passes it can be merged? |
https://issues.jboss.org/browse/WFLY-12165
Analysis document:
wildfly/wildfly-proposals#230