18308: enable collection versioning by default, with a 30s idle timeout.
authorWard Vandewege <ward@curii.com>
Mon, 15 Nov 2021 17:31:31 +0000 (12:31 -0500)
committerWard Vandewege <ward@curii.com>
Mon, 15 Nov 2021 17:31:31 +0000 (12:31 -0500)
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

doc/admin/collection-versioning.html.textile.liquid
doc/admin/keep-recovering-data.html.textile.liquid
lib/config/config.default.yml
lib/config/generated_config.go

index 29b0bcd506a81ea186d87fb96cf0a2553b744f3e..d33b9d2e2b171e66db944690d9df9ebd5af982c7 100644 (file)
@@ -23,13 +23,13 @@ There are 2 configuration settings in the @Collections@ section of @config.yml@
       # is older than the amount of seconds defined on PreserveVersionIfIdle,
       # a snapshot of the collection's previous state is created and linked to
       # the current collection.
-      CollectionVersioning: false
+      CollectionVersioning: true
 
       # This setting control the auto-save aspect of collection versioning, and can be set to:
       #   0s = auto-create a new version on every update.
       #  -1s = never auto-create new versions.
       # > 0s = auto-create a new version when older than the specified number of seconds.
-      PreserveVersionIfIdle: -1s
+      PreserveVersionIfIdle: 30s
 </pre>
 
 Note that if you set @CollectionVersioning@ to @false@ after being enabled, old versions will still be accessible, but further changes will not be versioned.
index 14e25dd11c5bd17da6808f40553033e813246b09..8d71a765e6a416bc8239c7e87ab8b745e2c7f2ea 100644 (file)
@@ -24,7 +24,7 @@ Multiple collections may share a _portable data hash_, i.e. have the same conten
 
 h2(#check_collection_versioning). Consider collection versioning
 
-Arvados supports collection versioning. If it has been "enabled":{{ site.baseurl }}/admin/collection-versioning.html on your cluster, the deleted collection may be recoverable from an older version. See "Using collection versioning":{{ site.baseurl }}/user/topics/collection-versioning.html for details.
+Arvados supports collection versioning. If it has not been "disabled":{{ site.baseurl }}/admin/collection-versioning.html on your cluster, the deleted collection may be recoverable from an older version. See "Using collection versioning":{{ site.baseurl }}/user/topics/collection-versioning.html for details.
 
 h2(#recover_collection). Recovering collections
 
index 411a79650b3421df477f32e0e96b574d068023ae..04f0c81accc6ea8f126c4cd84da67fa5f7d37cf4 100644 (file)
@@ -497,12 +497,12 @@ Clusters:
       # is older than the amount of seconds defined on PreserveVersionIfIdle,
       # a snapshot of the collection's previous state is created and linked to
       # the current collection.
-      CollectionVersioning: false
+      CollectionVersioning: true
 
       #   0s = auto-create a new version on every update.
       #  -1s = never auto-create new versions.
       # > 0s = auto-create a new version when older than the specified number of seconds.
-      PreserveVersionIfIdle: -1s
+      PreserveVersionIfIdle: 30s
 
       # If non-empty, allow project and collection names to contain
       # the "/" character (slash/stroke/solidus), and replace "/" with
index f8553c3eb758785edb6e023b10e8a9697085e74c..11ee62a6ba395fd46cfc5b234e7f274c5161b6f5 100644 (file)
@@ -503,12 +503,12 @@ Clusters:
       # is older than the amount of seconds defined on PreserveVersionIfIdle,
       # a snapshot of the collection's previous state is created and linked to
       # the current collection.
-      CollectionVersioning: false
+      CollectionVersioning: true
 
       #   0s = auto-create a new version on every update.
       #  -1s = never auto-create new versions.
       # > 0s = auto-create a new version when older than the specified number of seconds.
-      PreserveVersionIfIdle: -1s
+      PreserveVersionIfIdle: 30s
 
       # If non-empty, allow project and collection names to contain
       # the "/" character (slash/stroke/solidus), and replace "/" with