More info:
- We turned oplog OFF and could not replicate the error (we’re not 100% sure of this, but this seems to be the case for a bunch of tests we ran).
- we found this post Methods "hanging" not returning - #12 by bartoftutormundi and running
Meteor.connection._stream.reconnect({_force: true});seems to fix it… well actually this is not a viable change… it’s just more info that seems to reconnect the client (browser) back to the server and it gets the result of the method callback.
Note when the problem exists in the client and I type in Meteor.status() into the console Meteor.status().connected is true … run the reconnect/force above seems to blast through this. So the client seems to think it’s still connected but the server seems to have disconnected.
Update - just came across Race condition can leave mongo oplog observe driver stick in phase FETCHING · Issue #13599 · meteor/meteor · GitHub we are going to try Meteor 3.2 beta to see if this resolves it
Update 2 - we’re not seeing the issue with Meteor 3.2 beta (yet - I hope this solves this).