fixed --rebalance stability on drop
Was checking the wrong uuid, oops
This commit is contained in:
parent
5afbea25e7
commit
10d8b3cc63
2 changed files with 1 additions and 5 deletions
2
Limit.hs
2
Limit.hs
|
@ -603,7 +603,7 @@ limitFullyBalanced mu getgroupmap groupname = Right $ MatchFiles
|
|||
let keysize = fromMaybe 0 (fromKey keySize key)
|
||||
let hasspace u = case (M.lookup u maxsizes, M.lookup u sizemap) of
|
||||
(Just (MaxSize maxsize), Just (RepoSize reposize)) ->
|
||||
if maybe False (`S.member` notpresent) mu
|
||||
if u `S.member` notpresent
|
||||
then reposize <= maxsize
|
||||
else reposize + keysize <= maxsize
|
||||
_ -> True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue