| Summary: | [GSS](JDG 6.x) Double invalidate of invalid Hot Rod connections | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | dereed |
| Component: | Infinispan | Assignee: | Tristan Tarrant <ttarrant> |
| Status: | VERIFIED --- | QA Contact: | Martin Gencur <mgencur> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.1, 6.5.0, 6.6.0, 6.5.1 | CC: | jdg-bugs, rmarwaha, vjuranek, wfink |
| Target Milestone: | ER1 | ||
| Target Release: | 6.6.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1309749, 1324651 | ||
|
Description
dereed
2016-02-26 02:54:06 UTC
org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation
public T execute() {
...
try {
transport = getTransport(retryCount, failedServers);
return executeOperation(transport);
} catch (TransportException te) {
...
if (transport != null)
transportFactory.invalidateTransport(te.getServerAddress(), transport);
...
} finally {
releaseTransport(transport);
}
...
protected void releaseTransport(Transport transport) {
if (transport != null)
transportFactory.releaseTransport(transport);
}
org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory:
public void invalidateTransport(SocketAddress serverAddress, Transport transport) {
...
pool.invalidateObject(serverAddress, (TcpTransport) transport);
public void releaseTransport(Transport transport) {
TcpTransport tcpTransport = (TcpTransport) transport;
if (!tcpTransport.isValid()) {
...
pool.invalidateObject(tcpTransport.getServerAddress(), tcpTransport);
the impact of this issue for this customer is that more sockets then expected are getting created and using more memory , which results in server stability issues Galder Zamarreño <galder.zamarreno> updated the status of jira ISPN-6275 to Coding In Progress Sebastian Łaskawiec <slaskawi> updated the status of jira ISPN-6275 to Closed |