[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:
Related
related to SERVER-47562 Complete TODO listed in SERVER-42638 Closed
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).

Generated at Thu Feb 08 05:01:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.