gpt4 book ai didi

mongodb - Meter Redis Scaling更新 `could not find the collection`

转载 作者:行者123 更新时间:2023-12-03 06:42:42 24 4
gpt4 key购买 nike

这些天,我添加了Meteor redis oplog缩放功能,但它始终显示以下错误。

meteor add cultofcoders:redis-oplog
meteor add disable-oplog


W20200206-03:35:20.827(0)? (STDERR) error caught on publication: undefined : [We could not find the collection instance by name: "users", the cursor description was: {"collectionName":"users","selector":{"_id":"z45bpfpdMX4vPSteS"},"options":{"transform":null,"fields":{"profile":1,"username":1,"emails":1}}}]
I20200206-03:35:24.615(0)? Exception in defer callback: { Error: [We could not find the collection instance by name: "users", the cursor description was: {"collectionName":"users","selector":{"_id":"z45bpfpdMX4vPSteS","services.resume.loginTokens.hashedToken":"6YlvkDBQYEgZRjUEzNkKiy/uVKLshey1KuJe1kPVGes="},"options":{"transform":null,"fields":{"_id":1}}}]
I20200206-03:35:24.616(0)? at new ObservableCollection (packages/cultofcoders:redis-oplog/lib/cache/ObservableCollection.js:41:19)
I20200206-03:35:24.616(0)? at new RedisOplogObserveDriver (packages/cultofcoders:redis-oplog/lib/mongo/RedisOplogObserveDriver.js:37:37)
I20200206-03:35:24.617(0)? at MongoConnection.<anonymous> (packages/cultofcoders:redis-oplog/lib/mongo/observeChanges.js:123:25)
I20200206-03:35:24.617(0)? at MongoConnection.mongoConnectionProto._observeChanges (packages/mdg:meteor-apm-agent/lib/hijack/wrap_observers.js:164:38)
I20200206-03:35:24.617(0)? at Cursor.observeChanges (packages/mongo/mongo_driver.js:947:22)
I20200206-03:35:24.618(0)? at Cursor.cursorProto.(anonymous function) (packages/mdg:meteor-apm-agent/lib/hijack/db.js:131:32)
I20200206-03:35:24.618(0)? at Cursor.kadira_Cursor_observeChanges [as observeChanges] (packages/mdg:meteor-apm-agent/lib/hijack/set_labels.js:84:41)
I20200206-03:35:24.618(0)? at Meteor.defer (packages/accounts-base/accounts_server.js:895:36)
I20200206-03:35:24.619(0)? at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
I20200206-03:35:24.619(0)? at packages/meteor.js:550:25
I20200206-03:35:24.619(0)? at runWithEnvironment (packages/meteor.js:1286:24)
I20200206-03:35:24.620(0)? isClientSafe: true,
I20200206-03:35:24.620(0)? error: 'We could not find the collection instance by name: "users", the cursor description was: {"collectionName":"users","selector":{"_id":"z45bpfpdMX4vPSteS","services.resume.loginTokens.hashedToken":"6YlvkDBQYEgZRjUEzNkKiy/uVKLshey1KuJe1kPVGes="},"options":{"transform":null,"fields":{"_id":1}}}',

谁能在这个职位上提供帮助?

最佳答案

我在这里找到了有用的东西:https://github.com/cult-of-coders/redis-oplog/issues/317
为了使其有效,您必须更改软件包的顺序。这非常棘手。

关于mongodb - Meter Redis Scaling更新 `could not find the collection`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60091680/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com