From ae3ca5b4d3000de17daba98c484847c3b6ade679 Mon Sep 17 00:00:00 2001 From: mmattel Date: Fri, 23 Aug 2024 11:31:21 +0200 Subject: [PATCH 1/2] Add glob/worker to revision cleanup cli --- modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc b/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc index c2049c23f..ed33c1994 100644 --- a/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc +++ b/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc @@ -23,3 +23,6 @@ Allows specifying the blobstore to use. Defaults to `ocis`. Can be switched to ` * `-v` / `--verbose` + Prints additional information about the revisions that are removed. + +* `--glob-mechanism` (default: `glob` + +(advanced) Allows specifying the mechanism to use for globbing. Can be `glob`, `list` or `workers`. In most cases the default `glob` does not need to be changed. If large spaces need to be purged, `list` or `workers` can be used to improve performace at the cost of higher cpu and ram usage. `list` will spawn 10 threads that list folder contents in parallel. `workers` will use a special globbing mechanism and multiple threads to achieve the best performance for the highest cost. From 0679d305e287a5653b2143f5334c563f1582f875 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 23 Aug 2024 11:42:01 +0200 Subject: [PATCH 2/2] Update modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc Co-authored-by: kobergj --- modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc b/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc index ed33c1994..18e77a7e0 100644 --- a/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc +++ b/modules/ROOT/pages/maintenance/commands/revisions-cleanup.adoc @@ -25,4 +25,4 @@ Allows specifying the blobstore to use. Defaults to `ocis`. Can be switched to ` Prints additional information about the revisions that are removed. * `--glob-mechanism` (default: `glob` + -(advanced) Allows specifying the mechanism to use for globbing. Can be `glob`, `list` or `workers`. In most cases the default `glob` does not need to be changed. If large spaces need to be purged, `list` or `workers` can be used to improve performace at the cost of higher cpu and ram usage. `list` will spawn 10 threads that list folder contents in parallel. `workers` will use a special globbing mechanism and multiple threads to achieve the best performance for the highest cost. +(advanced) Allows specifying the mechanism to use for globbing. Can be `glob`, `list` or `workers`. In most cases the default `glob` does not need to be changed. If large spaces need to be purged, `list` or `workers` can be used to improve performance at the cost of higher cpu and ram usage. `list` will spawn 10 threads that list folder contents in parallel. `workers` will use a special globbing mechanism and multiple threads to achieve the best performance for the highest cost.