[SERVER-2209] timeout query deosn`t kill query Created: 13/Dec/10 Updated: 28/Feb/23 Resolved: 13/Dec/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.6.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | ppalka | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Replica set, php driver 1.0.10 |
||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
I have set timeout in my php driver to 30s. If query runs long time that 30s MongoexeptionsTimeout Throws, connection are closed but when I type db.currentOp() I see this query is still processing |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 13/Dec/10 ] |
|
You cannot set a timeout value for the query on the server. You can only set NOTIMEOUT for the query. You might want to file an issue for the PHP driver if it implies you can, and doesn't cleanup the connection correctly. |
| Comment by Eliot Horowitz (Inactive) [ 13/Dec/10 ] |
|
This is correct behavior. |