SCRAM-SHA-1: { iterationCount: 10000, salt: "B2ZgCCdkesEB/4sml/1sIw==", storedKey: "7Q3cTMnie18FjAkHk/Hq3tZUnH4=", serverKey: "XU5JL/uPaITifRbGlq+EbeKxXz0=" } }, roles: [ { role: "testRole", db: "admin" } ] } }
2017-06-22
[repl writer worker 2] writer worker caught exception: 26 Failed to apply insert due to missing collection: { ts: Timestamp 1498098493000|1, t: 3, h: 2485116712050718369, v: 2, op: "i", ns: "admin.system.users", o: { _id: "admin.roletest", user: "roletest", db: "admin", credentials: {
2017-06-22
mongodb3.4在primary中创建用户roletest后,secondary节点中断,重启后依然中断。具体报错如下:
[repl writer worker 2] writer worker caught exception: 26 Failed to apply insert due to missing collection: { ts: Timestamp 1498098493000|1, t: 3, h: 2485116712050718369, v: 2, op: "i", ns:
[repl writer worker 2] writer worker caught exception: 26 Failed to apply insert due to missing collection: { ts: Timestamp 1498098493000|1, t: 3, h: 2485116712050718369, v: 2, op: "i", ns:
2017-06-22
你好,我创建了一个用户作用在自己新建的数据库上,在admin中用db.users()可以看到用户信息。但是在数据库上用db.auth()去验证登录时,却报错,看日志说是找不到该数据库对应的用户。但是我确定创建用户时没有错。还有在arbiter节点上,在其他不是arbiter节点能验证的用户,在arbiter节点确验证不了,这个验证是在admin数据库上。
2017-06-05