Commit 6241bbf
authored
Remove redundant and problematic code to skip "pool" field in buffer profile handling (#2197)
- What I did
Remove redundant and problematic code to skip "pool" field in buffer profile handling
- Why I did it
When a buffer profile is modified, the snippet of code skipped "pool" field handling without pool's name being parsed, which broke the dependency tracing logic.
In a rare scenario, if buffer orchagent receives a notification to remove the pool before removing the profile, it can cause the buffer pool to be removed when it is still referenced.
- How I verified it
Manually and regression test.
Signed-off-by: Stephen Sun <stephens@nvidia.com>1 parent a55343c commit 6241bbf
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | 664 | | |
672 | 665 | | |
673 | 666 | | |
| |||
0 commit comments