Changing the default value of hdds.scm.safemode.min.datanode to 3 #7759
nandakumar131
started this conversation in
General
Replies: 2 comments
-
+1. Seems to follow the principle of least surprise. Let's make sure the safemode message calls out the config when there are not enough datanodes. We should check on some of the docker quick start examples that start with only one datanode to make sure they still work out of the box. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the default value of
hdds.scm.safemode.min.datanode
is set to1
.This means that an user can deploy an Ozone cluster (with default configuration) with just one datanode and the cluster will come out of
safemode
. After coming out ofsafemode
the writes with three way replication will fail.By changing the default value of
hdds.scm.safemode.min.datanode
from1
to3
, we will make sure that the cluster deployed with default configuration will not fail during write once it's out ofsafemode
.The users who wants to run Ozone with just one datanode can manually update the config.
Beta Was this translation helpful? Give feedback.
All reactions