Cancel ongoing SMR futures on new event 98/57798/2
authorLorand Jakab <lojakab@cisco.com>
Thu, 25 May 2017 05:32:39 +0000 (08:32 +0300)
committerLorand Jakab <lojakab@cisco.com>
Thu, 25 May 2017 08:04:47 +0000 (11:04 +0300)
commiteaf13961ddcc1e7b52f5c23c143535e8bd838884
treeeb50c977298ca41f44bbc0b8e1688eca71cbcba0
parent940efdb9839ad083bbbfcf095b8331804fc164db
Cancel ongoing SMR futures on new event

The SMR scheduler keeps retrying the sending of SMRs a few (configurable
number) of times with a given spacing between the retries until an
SMR-invoked Map-Request is received for the particular EID. When that
happens, the retrying is cancelled for the subscriber that sent it.

However, up until now, when a new set of SMRs was scheduled for a given
EID, the old set, if still retrying, was left untouched. This patch
fixes that, and starts with a clean slate for the given EID.

Change-Id: Ic64ce0980b39d780433ac2c4e96608af12302392
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/lisp/MapServer.java