BUG-8540: suppress ConnectingClientConnection backend timeout 22/57722/5
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 23 May 2017 17:42:57 +0000 (19:42 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 29 May 2017 08:57:28 +0000 (10:57 +0200)
commita3b2c1a05f66523561a10ac898723ffdf7e68798
treebc2a8036ec3e47c0dd13a2287c52235e8c0c2a1b
parent7ef2807768817cd84cf70e8b9ec4011ffe0e0acc
BUG-8540: suppress ConnectingClientConnection backend timeout

While a ClientConnection is in initial connect state we do not want
the timer to attempt to reconnect it, as it we are already trying
hard to connect it. Suppress that attempt by faking backend silent
ticks to be 0.

Change-Id: Iaf554632a56fd5be1d417d6806462edf3c746526
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/AbstractClientConnection.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/ConnectingClientConnection.java