-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snmp-subagent calling swsscommon DbInterface obj handle cause hiredis…
… memory issue Root cause: Use swsscommon DbInterface to get_keys and get_all data will cause hiredis freeObject memory issue Solution: 1. Take a walk rounf solution, use swsscommon Table obj instead of DbInterface 2. NextHopUpdater connect appl_db only 3. Parse keys with to ip string and get nexthops and ifnames 4. Mock DBConnector.__init__() 5. Skip NextHopUpdater uni test cases
- Loading branch information
Showing
4 changed files
with
130 additions
and
65 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