Closed vivekrnv closed 1 year ago
@jcaiMR, @yxieca can you take a look?
Sure, seems the cause is cli clean the counter in state db but dhcp6relay cache still holding the data. There is something need for data sync between memory and db. Will work on a solution.
ETA will be May 30.
Description
Happening because the sonic-clear only clears data from STATE_DB. It doesn't clear from the internal cache of dhcp6relay
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Solution:
A potential and easy fix would be to read and increment the value from state_db table instead of maintaining the internal cache. This would add an extra hget call per increase_counter method.