[SERVER-42638] Replace checks of cm() with cm()->distributionMode() == sharded Created: 06/Aug/19 Updated: 06/Dec/22 Resolved: 15/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | pm-1051-legacy-tickets | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding
|
||||||||
| Participants: | |||||||||
| Description |
|
Once unsharded collections are also tracked, sharding code that needs to handle unsharded and sharded collections differently can no longer use the presence of a ChunkManager in its cache entry for the collection to mean the collection is sharded. Instead, the code should explicitly check whether the collection's distributionMode == "sharded." |
| Comments |
| Comment by Kaloian Manassiev [ 15/Apr/20 ] |
|
This ticket is no longer relevant (the code in the title does not exist). |