You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cluster-client#leader [Leader:MongoDataClient] send method:find result to follower, result: undefined +11ms
cluster-client#leader [Leader:MongoDataClient] send method:find result to follower, result: [...
The text was updated successfully, but these errors were encountered:
代码
结合leader代码
假设在clusterClient方式,且被invoke函数是async函数, Leader在执行follower程序,即调用invoke时候, 会被callback 次,一次在method.apply(this._realClient, args); 另外一次在 ret.then(result => callback(null, result), err => callback(err))
导致的结果是发送了2次,第一次没数据,第二次真实数据
The text was updated successfully, but these errors were encountered: