-
Type: Story
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Future
-
Component/s: openolt-adapter, rw-core
-
Labels:None
-
Story Points:8
When attempting to clean up the KV store during various operations, such as device deletions and adapter restarts, there is a possibility that lower-level KV store deletes fail and leave orphaned data in the KV store. Over time this could lead to KV store bloat over time.
A garbage collector/harvester should be developed that can identify orphaned data in the KV store and attempt to remove it. This harvester can then be periodically run against the KV store.
As a recommendation, having this as a separate process that you can run as a K8s job might be a good implementation choice.