[CSHARP-717] If the driver tries to read from a socket that the server has closed it will hang Created: 01/Apr/13 Updated: 20/Mar/14 Resolved: 01/Apr/13 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.8 |
| Fix Version/s: | 1.8.1 |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
This is a regression from 1.7. Parts of the low level IO methods were rewritten and they are not properly throwing an EndOfStreamException (as 1.7 did) when the server closes the socket. |
| Comments |
| Comment by Robert Stam [ 25/Apr/13 ] |
|
Thanks for the update. |
| Comment by guy pitelko [ 25/Apr/13 ] |
|
At the moment it doesn't seem like the problem we had originated from the mongo c# driver. We've found a stack-overflow exception in another library that was working in parallel. Once it has been disabled the app is running without problems. |
| Comment by Sridhar Nanjundeswaran [ 22/Apr/13 ] |
|
Just an FYI. I am unable to repro with 1.8.1 with the following 2 types of tests |
| Comment by guy pitelko [ 21/Apr/13 ] |
|
Trying to reproduce in dev-env with the driver's source code compiled with the project, will update if I find it. |
| Comment by Robert Stam [ 20/Apr/13 ] |
|
Sorry for your frustration. Is there any additional information you can provide that would help us resolve your issue? Ideally a stack trace (if it's in an infinite loop you would have to run using a debugger and hit break so see where it is), or at least the name of the method that is hanging and whether there are any error messages in the server log at the same time. |
| Comment by guy pitelko [ 20/Apr/13 ] |
|
The issue seems not resolved. |
| Comment by auto [ 01/Apr/13 ] |
|
Author: {u'date': u'2013-04-01T15:51:51Z', u'name': u'rstam', u'email': u'robert@10gen.com'}Message: |