[SERVER-73130] getCollectionDescription doesn't honor the critical section Created: 20/Jan/23  Updated: 03/Jul/23  Resolved: 03/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: [DO NOT USE] Backlog - Sharding EMEA
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-76486 Make RefineShardKey coordinator autho... Closed
Duplicate
duplicates SERVER-69887 The getCollectionDescription doesn't ... Backlog
Assigned Teams:
Sharding EMEA
Operating System: ALL
Participants:

 Description   

In the past the CollectionDescription was static information of the collection. However, since 5.0 and the introduction of allowMigrations, reshardingFields and timeseriesFields (and probably others) is not static anymore.

We should honor the critical section on this method, throwing an exception if it is held.


Generated at Thu Feb 08 06:23:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.