-
Type: Task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.8
-
Component/s: helm-charts
-
Labels:None
-
Story Points:3
Update ETCD voltha-infra helm chart to latest along with auto compaction feature.
AUTO COMPACTION
Since etcd keeps an exact history of its keyspace, this history should be periodically compacted to avoid performance degradation and eventual storage space exhaustion. Compacting the keyspace history drops all information about keys superseded prior to a given keyspace revision. The space used by these keys then becomes available for additional writes to the keyspace.
autoCompactionMode, by default periodic. Valid values: 'periodic', 'revision'.
- 'periodic' for duration based retention, defaulting to hours if no time unit is provided (e.g. '5m').
- 'revision' for revision number based retention. autoCompactionRetention for mvcc key value store in hour, by default 0, means disabled.
You can enable auto compaction by using following parameters:
autoCompactionMode=periodic autoCompactionRetention=10m
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
24477,3 | VOL-4051 Update ETCD voltha-infra helm chart to latest along with auto compaction feature | master | voltha-helm-charts | Status: ABANDONED | 0 | -1 |