Project

General

Profile

Task #1987

Updated by Ashlesh Gawande over 10 years ago

Current code: An If an lsa is detected by Chronosync. Then the code tries to express interest for this lsa. If the interest times out it tries re-expressing the code will re-express the interest again till the deadline (which for now is set to own lsa refresh time). Now in the meantime a new lsa is Meanwhile if Chronosync says that it has detected by Chronosync. So a new lsa, the interest is expressed for this new lsa. But interest for old lsa is still being re-expressed (if the time is still within the deadline).  

 Hence to fix this I map the lsa sequence number to a router and update the lsa sequence number for that router if a new lsa is detected. Then sitting in timeout I check whether lsa sequence number is still the same and if not I must stop re-expressing it (rather than expressing the interest. Before mapping a new lsa sequence number to a router I also check whether the lsa seq number is greater than the one already mapped to the router.  

 Similar check is applied for revalidation of content (i.e. we need to stop trying to re-validate an old lsa). it continuously till deadline).

Back