[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: |
|
| 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: |
| 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. |