BUG-8445: check sessionId before propagating failures 27/59527/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 26 Jun 2017 14:31:30 +0000 (16:31 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 26 Jun 2017 14:37:13 +0000 (16:37 +0200)
commit1c495bceb8d9c203f5ce53ea1ab9d907efb4d7b3
tree0159fa3f3b3013f084bf7063c9340e135d7d5adb
parentd97061af6814ad7b085af10797a252aa4aa5cda6
BUG-8445: check sessionId before propagating failures

When we have leader movement ocurring, based on timing details we
can re-establish a connection to the new leader and then start
receiving responses from the old leader telling us it no longer
is the leader.

To stop this from happening we need to check connection session ID
against the incoming failure.

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