[SERVER-8019] GLE with 'w' on --configsvr instances times out Created: 22/Dec/12  Updated: 11/Jul/16  Resolved: 22/Dec/12

Status: Closed
Project: Core Server
Component/s: Replication, Sharding
Affects Version/s: None
Fix Version/s: 2.3.2

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

At HEAD, connecting to a config server instance directly, doing an insert to the admin DB, and calling GLE with a numeric w values causes GLE to timeout:

> use admin;
> db.foo.insert({a:1});db.getLastError(3,5000);
Inserted 1 record(s) in 0ms
timeout

The behavior is the same if you connect through mongos and write to the admin DB.

In 2.2 this would just return with the message "norepl"



 Comments   
Comment by auto [ 22/Dec/12 ]

Author:

{u'date': u'2012-12-22T23:04:13Z', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-8019 - GLE w should fail fast on config servers
Branch: master
https://github.com/mongodb/mongo/commit/d02a03c48edc7f7a7eb7523b97ba3800dbe87856

Comment by auto [ 22/Dec/12 ]

Author:

{u'date': u'2012-12-22T22:45:25Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: Fix sharding/auth_slaveok_routing.js by not waiting for replication on writes to the config servers. SERVER-8019
Branch: master
https://github.com/mongodb/mongo/commit/ad9b37e8ad1acc366e2a04e40bb4713abbae69aa

Comment by auto [ 22/Dec/12 ]

Author:

{u'date': u'2012-12-22T21:47:19Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: Fix sharding/authCommands2.js by not waiting for replication on writes to the config servers. SERVER-8019
Branch: master
https://github.com/mongodb/mongo/commit/7d37704a9875b7a10d1db60f0f61cb6f6ca5f59e

Generated at Thu Feb 08 03:16:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.