[SERVER-981] db freezes forever if w > num servers running Created: 07/Apr/10 Updated: 07/Apr/10 Resolved: 07/Apr/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
It should probably have a timeout or something? Return failure? I started up 1 mongo instance and then ran: ~/gitroot/p> ./mongo ) { "err" : null, "n" : 0, "ok" : 1 }> db.runCommand( {getlasterror: 1, w:3}) |
| Comments |
| Comment by Kristina Chodorow (Inactive) [ 07/Apr/10 ] |
|
Ah, sorry, didn't notice the wtimeout param. |
| Comment by Eliot Horowitz (Inactive) [ 07/Apr/10 ] |
|
you can use wtimeout if you want |