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
There is a busy loop in the source code which may result in an infinite loop.
namespace Norm.Protocol.Messages
{
...
public ReplyMessage Execute()
{
...
var stream = _connection.GetStream();
while (!stream.DataAvailable)
{
Thread.Sleep(1);
}
...
When you shut down the mongod primary the property stream.DataAvailable will always return false and there is no Exception being thrown. So when you shut down the primary mongod (and another gets primary), this source code results in an infinite busy loop.
The text was updated successfully, but these errors were encountered:
There is a busy loop in the source code which may result in an infinite loop.
namespace Norm.Protocol.Messages
{
...
public ReplyMessage Execute()
{
...
var stream = _connection.GetStream();
while (!stream.DataAvailable)
{
Thread.Sleep(1);
}
...
When you shut down the mongod primary the property stream.DataAvailable will always return false and there is no Exception being thrown. So when you shut down the primary mongod (and another gets primary), this source code results in an infinite busy loop.
The text was updated successfully, but these errors were encountered: