老师您好 我用的mongo 4.0 重启服务报错
imooc:PRIMARY> rs.reconfig(config)
{
"operationTime" : Timestamp(1539831832, 1),
"ok" : 0,
"errmsg" : "Support for replication protocol version 0 was removed in MongoDB 4.0. Downgrade to MongoDB version 3.6 and upgrade your protocol version to 1 before upgrading your MongoDB version",
"code" : 103,
"codeName" : "NewReplicaSetConfigurationIncompatible",
"$clusterTime" : {
"clusterTime" : Timestamp(1539831832, 1),
"signature" : {
"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
"keyId" : NumberLong(0)
}
}
}
imooc:PRIMARY>
这个应该怎么解决