You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you set config.settings.getLastErrorModes in the replicaset config to something containing a write concern, the operator does not handle this properly and marks the cluster as unhealthy.
More about the problem
Error: failed to update config members: get replset config: failed to decode to replSetGetConfig: error decoding key config.settings.getLastErrorModes.EnsureGlobal.region: cannot decode 32-bit integer into a string type
A custom write concern requires an integer to be set, but the operator tries to parse it as string. It is not possible as a workaround to set it as string, as MongoDB refuses to apply this change
MongoServerError[InvalidReplicaSetConfig]: Expected getLastErrorModes.EnsureGlobal.region to be a number, not string
Report
When you set config.settings.getLastErrorModes in the replicaset config to something containing a write concern, the operator does not handle this properly and marks the cluster as unhealthy.
More about the problem
Steps to reproduce
A custom write concern requires an integer to be set, but the operator tries to parse it as string. It is not possible as a workaround to set it as string, as MongoDB refuses to apply this change
Versions
Kubernetes 1.31.1+k3s1
Operator 1.18.0
MongoDB 7.0.15-9
Anything else?
No response
The text was updated successfully, but these errors were encountered: