[CDRIVER-480] stream: Failure to buffer 4 bytes: Failed to buffer 4 bytes within 300000 milliseconds Created: 09/Dec/14 Updated: 17/Aug/15 Resolved: 14/Jul/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.0.2 |
| Fix Version/s: | 1.2-beta0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Allen K | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
centos4.3 |
||
| Issue Links: |
|
||||||||
| Description |
|
hi, |
| Comments |
| Comment by Githook User [ 13/Jul/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by A. Jesse Jiryu Davis [ 19/Jun/15 ] |
|
Needs forward-port to 1.2, CHECK_CLOSED_DURATION_MSEC isn't checked in the 1.2.0-dev branch. |
| Comment by Mira Carey [ 25/Feb/15 ] |
|
Allen, I'm going to close this as fixed (I was able to reproduce a problem somewhat similar to yours that I did fix in 1.1.0). If you're still having trouble, please re-open or file a new issue. Regards, |
| Comment by Mira Carey [ 19/Dec/14 ] |
|
Allen, I've taken some steps to improve handling of long running sockets in libmongoc (specifically, checking if the socket is half closed before attempting writes). The change was introduced in https://github.com/mongodb/mongo-c-driver/commit/08cbe7621a64847792da091693268846aaf283f5. There is still always the chance for a race (where we write a command onto the wire and then the server hangs up before giving us the result), but that change should remove the majority of spurious errors of that kind. I'll be releasing a 1.1.0-rc1 in a few days that will include that change, if you could test against that and let me know if it fixes your problem I'd greatly appreciate it. Or feel free to test against current master, that also includes that change. Regards, |
| Comment by Allen K [ 10/Dec/14 ] |
|
hi, |