From 3d7b7c13fc2bc71bda9a410d9040d16f87cf5f60 Mon Sep 17 00:00:00 2001 From: Alan King Date: Thu, 15 Feb 2024 12:22:32 -0500 Subject: [PATCH] squash with 'Trim: Minimum replicas includes good and stale' --- docs/system_overview/data_objects.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/system_overview/data_objects.md b/docs/system_overview/data_objects.md index 1dda32d..dc8c10d 100644 --- a/docs/system_overview/data_objects.md +++ b/docs/system_overview/data_objects.md @@ -264,10 +264,11 @@ Trim refers to unlinking one or more replicas mapped to an existing data object. ![Trim](../images/trim_01.drawio.png) -Trim requires 2 inputs: +Trim requires 1 input: 1. An existing data object with at least two replicas which are at rest and can be unlinked. -2. A minimum number of replicas to retain. + +Trim requires a minimum number of replicas to remain at completion. The default minimum number of replicas to retain is 2. Trim selects stale replicas first - trimming from oldest to youngest - until the specified minimum number of replicas is reached. If more replicas can be trimmed, then the good replicas are trimmed from oldest to youngest, down to the specified minimum number of replicas. The specified number of replicas cannot be less than 1. In other words, trim cannot completely remove a data object.