[cause]: MongoServerError: The dollar ($) prefixed field '$schema' in 'data.secretSchema.$schema' is not valid for storage.
at Connection.sendCommand (file:///app/apps/server/dist/main.js:111758:13)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async Connection.command (file:///app/apps/server/dist/main.js:111773:21)
at async Server.command (file:///app/apps/server/dist/main.js:113290:18)
at async tryOperation (file:///app/apps/server/dist/main.js:67372:21)
at async executeOperation (file:///app/apps/server/dist/main.js:67276:11)
at async Collection.findOneAndUpdate (file:///app/apps/server/dist/main.js:121154:11)
at async model.Query._findOneAndUpdate (file:///app/apps/server/dist/main.js:156193:13)
at async model.Query.exec (file:///app/apps/server/dist/main.js:156996:62)
at async PluginRepo.confirmPlugin (file:///app/apps/server/dist/main.js:168136:4) {
errorLabelSet: Set(0) {},
errorResponse: {
operationTime: new Timestamp({ t: 1781319734, i: 1 }),
ok: 0,
errmsg: "The dollar ($) prefixed field '$schema' in 'data.secretSchema.$schema' is not valid for storage.",
code: 52,
codeName: 'DollarPrefixedFieldName',
'$clusterTime': [Object]
},
operationTime: new Timestamp({ t: 1781319734, i: 1 }),
ok: 0,
code: 52,
codeName: 'DollarPrefixedFieldName',
'$clusterTime': {
clusterTime: new Timestamp({ t: 1781319734, i: 1 }),
signature: [Object]
}
}
}
},
message: 'Failed to confirm plugin'
}
例行检查
你的版本
问题描述, 日志截图,配置文件等
cpu不支持AVX,只能用mongo:4.4.29,但是插件上传后的确认阶段,提示确认失败,错误信息如下,应该是该版本的mongodb数据库兼容性问题?需修复