[SERVER-1585] block for replication with wtimeout throws OperationFailure exception Created: 06/Aug/10 Updated: 12/Jul/16 Resolved: 10/Nov/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 1.6.0 |
| Fix Version/s: | 1.7.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nick Leippe | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
ubuntu 10.4, x86_64 |
||
| Backwards Compatibility: | Minor Change |
| Operating System: | ALL |
| Participants: |
| Description |
|
python code: err = db.command("getlasterror", Rather than return an error to be tested, if the above timesout, I get: File "build/bdist.linux-x86_64/egg/pymongo/database.py", line 294, in command If a wtimeout is supplied, that indicates that a timeout is expected behavior--not exceptional behavior. |
| Comments |
| Comment by auto [ 10/Nov/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: on w timeout, don't set ok=0, but set ok=1 and set err |
| Comment by Eliot Horowitz (Inactive) [ 06/Aug/10 ] |
|
Will change to make ok=1 and set err |
| Comment by Nick Leippe [ 06/Aug/10 ] |
|
When run in the shell I get: ) So this may be a pymongo python driver issue. |
| Comment by Nick Leippe [ 06/Aug/10 ] |
|
Similar to |