/
Do I have to specify the retention days when I write data into Swarm or can I omit the retention days parameter?
Do I have to specify the retention days when I write data into Swarm or can I omit the retention days parameter?
There are no required parameters for lifepoints. In fact, you don't even need to specify a lifepoint. If you don't specify a lifepoint, the default will be to keep 'minreps' replicas, for the UUID to be deletable, and for Swarm to keep the UUID forever unless the user deletes it.
So, if you do not have a final "[]delete
" lifepoint, Swarm will keep a UUID forever. You could specify that you want to retain 3 replicas forever until the user deletes the UUID with a single "[]reps=3, deletable=yes
" lifepoint.
See the Swarm Guide Lifepoint Metadata Headers for more information about lifepoints.
Related content
Lifepoint Metadata Headers
Lifepoint Metadata Headers
More like this
Does Swarm allow lifepoint policy updates for content after the content has been stored in Swarm?
Does Swarm allow lifepoint policy updates for content after the content has been stored in Swarm?
More like this
Losing UUIDs
Losing UUIDs
More like this
Swarm Storage 14.1 Release
Swarm Storage 14.1 Release
More like this
Lifecycle Policy Usage and Examples
Lifecycle Policy Usage and Examples
More like this
Increasing Prometheus storage retention
Increasing Prometheus storage retention
More like this
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.