[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
MongoDB shell version: 1.3.5-pre-
url: test
connecting to: test
type "help" for help
> db.runCommand(

{getlasterror: 1}

)

{ "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
otherwise this is exactly what it should do

Generated at Thu Feb 08 02:55:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.