Compare commits

...
Author SHA1 Message Date
Cédric VerstraetenandCopilot dcfa9c63a4 Raise hub-cleanup default batch size to 1000 for Hub 0.155.0
hub-cleanup deletes retention-expired documents by selecting a batch of ids
and deleting that id set. Larger batches amortize the id-selection
round-trip: in benchmarks a 1000-document batch roughly halved the selection
time versus 250, with no further gain above 1000. The chart always sets
BATCH_SIZE from `kerberoshub.cleanup.batchSize`, so the chart default is
what deployments actually run with.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-06 13:38:55 +00:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.154.0
version: 0.155.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
+1 -1
View File
@@ -440,7 +440,7 @@ kerberospipeline:
| `kerberoshub.cleanup.maxDays` | Hard maximum age (in days) used by the optional global cleanup pass. | `"365"` |
| `kerberoshub.cleanup.runIntervalMinutes` | Minutes between cleanup cycles. | `"10"` |
| `kerberoshub.cleanup.cleanupUsernames` | Optional comma-separated usernames to target. | `""` |
| `kerberoshub.cleanup.batchSize` | Delete batch size per collection operation. | `"250"` |
| `kerberoshub.cleanup.batchSize` | Documents selected and deleted per batch round-trip. Lower it if delete operations time out on a heavily loaded cluster. | `"1000"` |
| `kerberoshub.cleanup.userBatchSize` | Number of users processed per inner batch. | `"100"` |
| `kerberoshub.cleanup.maxUsersPerRun` | Maximum users processed per run. | `"100"` |
| `kerberoshub.cleanup.progressEvery` | Print progress every N processed users. | `"100"` |
+1 -1
View File
@@ -698,7 +698,7 @@ kerberoshub:
maxDays: "365" # Hard maximum age (days) for global orphan cleanup.
runIntervalMinutes: "10" # Minutes between cleanup cycles.
cleanupUsernames: "" # Optional comma-separated usernames to target.
batchSize: "250" # Delete batch size per collection operation.
batchSize: "1000" # Documents selected and deleted per batch round-trip; lower if deletes time out.
userBatchSize: "100" # Users processed per in-memory batch.
maxUsersPerRun: "100" # Hard cap of users processed each run.
progressEvery: "100" # Print progress every N processed users.