Made default EC:4 parity when available without restrictions (#2421)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2022-10-31 17:52:44 -06:00
committed by GitHub
parent 0ae1ace8fe
commit 83a612981e

View File

@@ -471,7 +471,7 @@ export const erasureCodeCalc = (
const fourVar = parityValidValues.find((element) => element === "EC:4");
if (totalDisks >= 8 && totalNodes > 16 && fourVar) {
if (fourVar) {
defaultEC = "EC:4";
}