X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3ce3d9f884aed70cc84155554defe614a1bcfaaa..fd6df03fd625fe0f9126205ab324df8533fdcc79:/services/keep-balance/block_state.go diff --git a/services/keep-balance/block_state.go b/services/keep-balance/block_state.go index 6fd50f4779..22e89c019a 100644 --- a/services/keep-balance/block_state.go +++ b/services/keep-balance/block_state.go @@ -25,6 +25,14 @@ type Replica struct { type BlockState struct { Replicas []Replica Desired map[string]int + // TODO: Support combinations of classes ("private + durable") + // by replacing the map[string]int with a map[*[]string]int + // here, where the map keys come from a pool of semantically + // distinct class combinations. + // + // TODO: Use a pool of semantically distinct Desired maps to + // conserve memory (typically there are far more BlockState + // objects in memory than distinct Desired profiles). } var defaultClasses = []string{"default"}