-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac-cache: Fix expiration of active FDB entry due to skipped update.
ovn-controller doesn't update timestamps until 3/4 of the expiration threshold have passed, but then it may wait for another 3/4. And since 3/4 + 3/4 > 1, northd would remove the entry before ovn-controller wakes up to refresh it next time. Fix the issue the same way it is fixed for MAC bindings - by using cooldown period of 1/4 and the dump period of 1/2 of the threshold. NOTE: In the worst case this will increase the number of transactions to the database to 4 per FDB entry per aging period. Fixes: 551527a ("controller: Update FDB timestamp") Reported-at: https://issues.redhat.com/browse/FDP-1132 Signed-off-by: Ilya Maximets <[email protected]> Acked-by: Ales Musil <[email protected]> Signed-off-by: Dumitru Ceara <[email protected]> (cherry picked from commit aac5017)
- Loading branch information
Showing
2 changed files
with
139 additions
and
7 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