[SERVER-72669] Get collections sorted by namespace directly from the configsvr Created: 10/Jan/23 Updated: 29/Oct/23 Resolved: 24/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pol Pinol | Assignee: | Pol Pinol |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Sharding EMEA
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v6.0
|
||||
| Sprint: | Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06 | ||||
| Participants: | |||||
| Description |
|
We have various indexes on the namespaces field on config.collections thus we should be able to get a list of sorted collections directly from the config server without the need of sorting them on the shard. In order to achieve this we can add an additional optional paramter to ShardingCatalogClientImpl::getCollections to specify the sorting criteria. |
| Comments |
| Comment by Silvia Surroca [ 20/Apr/23 ] |
|
Needed to backport |
| Comment by Githook User [ 24/Jan/23 ] |
|
Author: {'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}Message: |