Skip to content

Commit

Permalink
squash with 'Trim: Minimum replicas includes good and stale'
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Feb 15, 2024
1 parent d9a6c1b commit 3d7b7c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/system_overview/data_objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 3d7b7c1

Please sign in to comment.