[SERVER-13437] Cannot wait for write concern for createIndexes command on mongos Created: 01/Apr/14  Updated: 11/Jul/16  Resolved: 08/Apr/14

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.6.0-rc2
Fix Version/s: 2.7.0

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File create_index_gle.js    
Operating System: ALL
Participants:

 Comments   
Comment by Githook User [ 08/Apr/14 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-13437 Cannot wait for write concern for createIndexes command on mongos
Branch: master
https://github.com/mongodb/mongo/commit/f35da2d63ff53c494e02ac727399763081f1fcfd

Comment by Randolph Tan [ 01/Apr/14 ]

The problem is that createIndexes command in mongos relies on RunOnAllShardsCommand to pass the command to all shards. However, RunOnAllShardsCommand uses ScopedDbConnection instead of ShardConnection. Therefore, the saveGLEStats() never gets executed.

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