Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongo Problems #7

Open
derwaldgeist opened this issue Oct 20, 2020 · 3 comments
Open

Mongo Problems #7

derwaldgeist opened this issue Oct 20, 2020 · 3 comments

Comments

@derwaldgeist
Copy link

Since I didn't get Redis up and running (it was throwing an auth error, although I setup an instance at Redis labs), I tried it without. I was able to register users, but when I tried to login again, this didn't work for one of them. Now I am getting this error on the console:

I20201020-17:14:17.321(2)? Exception in defer callback: Error: The Mongo server and the Meteor query disagree on how many documents match your query. Maybe it is hitting a Mongo edge case? The query is: {"deleted":{"$exists":false}}
I20201020-17:14:17.351(2)?     at packages/mongo/oplog_observe_driver.js:881:15
I20201020-17:14:17.351(2)?     at Object.Meteor._noYieldsAllowed (packages/meteor.js:848:12)
I20201020-17:14:17.352(2)?     at OplogObserveDriver._publishNewResults (packages/mongo/oplog_observe_driver.js:851:12)
I20201020-17:14:17.352(2)?     at OplogObserveDriver._runQuery (packages/mongo/oplog_observe_driver.js:758:10)
I20201020-17:14:17.352(2)?     at OplogObserveDriver._runInitialQuery (packages/mongo/oplog_observe_driver.js:658:10)
I20201020-17:14:17.352(2)?     at packages/mongo/oplog_observe_driver.js:191:10
I20201020-17:14:17.352(2)?     at packages/mongo/oplog_observe_driver.js:15:9
I20201020-17:14:17.352(2)?     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12)
I20201020-17:14:17.352(2)?     at packages/meteor.js:620:25
I20201020-17:14:17.352(2)?     at runWithEnvironment (packages/meteor.js:1356:24)
@copleykj
Copy link
Owner

With a fresh clone of the project and after working around the user-blocking version mismatch, I'm not able to reproduce this.

@derwaldgeist
Copy link
Author

Yeah, I have no idea how this happened, either. It happened after a couple of re-logins to test the friend feature with two users.

@derwaldgeist
Copy link
Author

I did a meteor reset, created 2 new users and started a conversation between them. Now, all of the sudden, I got the very same message again and the server is down for that reason:

I20201020-21:00:34.144(2)? Exception in defer callback: Error: The Mongo server and the Meteor query disagree on how many documents match your query. Maybe it is hitting a Mongo edge case? The query is: {"deleted":{"$exists":false}}
I20201020-21:00:34.186(2)?     at packages/mongo/oplog_observe_driver.js:881:15
I20201020-21:00:34.187(2)?     at Object.Meteor._noYieldsAllowed (packages/meteor.js:848:12)
I20201020-21:00:34.187(2)?     at OplogObserveDriver._publishNewResults (packages/mongo/oplog_observe_driver.js:851:12)
I20201020-21:00:34.187(2)?     at OplogObserveDriver._runQuery (packages/mongo/oplog_observe_driver.js:758:10)
I20201020-21:00:34.187(2)?     at OplogObserveDriver._runInitialQuery (packages/mongo/oplog_observe_driver.js:658:10)
I20201020-21:00:34.187(2)?     at packages/mongo/oplog_observe_driver.js:191:10
I20201020-21:00:34.187(2)?     at packages/mongo/oplog_observe_driver.js:15:9
I20201020-21:00:34.187(2)?     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12)
I20201020-21:00:34.217(2)?     at packages/meteor.js:620:25
I20201020-21:00:34.217(2)?     at runWithEnvironment (packages/meteor.js:1356:24)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants