Open IvanVlasic opened 5 years ago
Hi @IvanVlasic
Can you provide an example to reproduce this behaviour? Moreover, contributions are welcomed, so it would be great if you are willing to open a PR!
Best regards, Oscar
Hello @maitesin, thanks for getting back to me.
I will try to write some tests and possibly open a PR once I get some free time for this.
During compact of one of our secondaries I noticed that there was period of few seconds when queries would return error "node is recovering".
Checking mongo specification on server discovery and monitoring I noticed part about handling those kinds of errors as seen here.
Checking through the code I don't think that this type of check is currently implemented which can result in above mentioned behaviour.