[SERVER-23584] Get rid of ShardConnection::sync Created: 06/Apr/16 Updated: 06/Dec/22 Resolved: 21/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Sharding
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Chunk operations initiated by mongos use ShardConnection::sync in order to ensure that all asynchronous (fire-and-forget) write operations have completed on the shards. However, since mongos only uses write commands to write to the shards, there will never be incomplete writes, so this call is unnecessary and should be removed. |