-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This set of changes implements fix for Issue 1 and 2 as described in OpenR initialization improvements here: https://fb.workplace.com/groups/open.routing/permalink/1977709525965711/ Fix for 1st issue is addressed by (1) and (2) described below. Fix for 2nd issue is addressed by (3) described below. 1 Advertise local adjacencies from link-monitor to kvstore only after KVSTORE_SYNCED. We still keep adj hold timer to advertise adjacencies in case of KVSTORE_SYNCED signal not received by this hold timer. Changes to support this function are, - Create a dispatcher reader to pass kvstore updates from kvstore to link-monitor - Link-monitor module listens to this queue, and specifically reacts to KVSTORE_SYNCED signal - On KVSTORE_SYNCED signal, link-monitor cancels adjHoldTimer_ and advertise adjacencies to kvstore - Added a configuration knob to allow user disable this behavior - Add supporting test-cases in LinkMonitorTest.cpp 2 Decision to compute RIB only after both KVSTORE_SYNCED and ADJACENCY_DB_SYNCED signals received. Changes to support this function are, - In Decision module, now wait for both signals to trigger/unblock initial route build - Added a configuration knob to allow user disable this behavior - Add supporting test-cases in DecisionTest.cpp 3 adjOnlyUsedByOtherNode flag settings - Do not set adjOnlyUsedByOtherNode flag when local node is still in initialization - Add more tests coverage around use of GR cases 4 Reset counters during SetUp of prefix-manager UT tests to fix flakiness of a particular counter test The Open/R initialization sequence improvements are fixed and enabled by default. Configuration knobs are provided in case of a need to go back to the old behavior. Reviewed By: xiangxu1121 Differential Revision: D62284524 fbshipit-source-id: 737e43211f73129b56fee886daf80416eab670d5
- Loading branch information
1 parent
5a75615
commit 3cabcf8
Showing
16 changed files
with
560 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.