mongo开启副本集,golang连接报错:err: (NotWritablePrimary) not master
server selection error: context canceled, current topology: { Type: ReplicaSetNoPrimary, Servers: [{ Addr: sts-db-mongodb-0.svc-db-mongodb.db.svc.cluster.local:27017, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp: lookup sts-db-mongodb-0.svc-db-mongodb.db.svc.cluster.local: device or resource busy }, { Addr: sts-db-mongodb-1.svc-db-mongodb.db.svc.cluster.local:27017, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp: lookup sts-db-mongodb-1.svc-db-mongodb.db.svc.cluster.local: device or resource busy }, { Addr: sts-db-mongodb-2.svc-db-mongodb.db.svc.cluster.local:27017, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp: lookup sts-db-mongodb-2.svc-db-mongodb.db.svc.cluster.local: device or resource bu