BUG-8540: suppress ConnectingClientConnection backend timeout 03/58203/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 23 May 2017 17:42:57 +0000 (19:42 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 4 Jun 2017 07:45:59 +0000 (09:45 +0200)
commita4839cbdbe20bced4f2651ff4a2daa618c848946
tree1aeb19eb00db298803950285807c111fef67ec3c
parentbc2b83e97bc73930badd4a3063c65b849f82c664
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>
(cherry picked from commit a3b2c1a05f66523561a10ac898723ffdf7e68798)
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