I have a 3 node mongodb replica set which uses the old syntax (non-Yaml) syntax that I am trying to change to use the new Yaml syntax
old syntax
auth = true
bind_ip = 0.0.0.0
dbpath = /var/lib/mongodb
fork = false
keyFile = /etc/mongod.key
logappend = true
logpath = /var/log/mongodb/mongod.log
nojournal = false
port = 27017
replSet = rs0
rest = false
smallfiles = false
Yaml file
net:
bindIp: 0.0.0.0
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
storage:
dbPath: /var/lib/mongodb
mmapv1:
smallFiles: false
journal:
enabled: false
processManagement:
fork: false
security:
keyFile: /etc/mongod.key
authorization: enabled
systemLog:
logAppend: true
path: /var/log/mongodb/mongod.log
replication:
replSetName: "rs0"
I have made the change on the primary but it no longer properly starts up. I get the following error message in the log
SyncSourceFeedback error sending update to :27017: CallbackCanceled: Reporter no longer valid
I did a search on the error but I have not been able to find a solution. The replicaset is running mongo v3.4.9
I have also tried the following:
- Setting up each server with the same configuration
- Stopping services on all members and starting one at a time.
These attempts did not work