[SERVER-45782] Remove usages of getCurrentShardVersionIfKnown and most of getCurrentMetadataIfKnown Created: 27/Jan/20 Updated: 29/Oct/23 Resolved: 10/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Marcos José Grillo Ramirez | Assignee: | Tommaso Tocci |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-1645-Milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2020-03-09, Sharding 2020-03-23, Sharding 2020-04-06, Sharding 2020-04-20 | ||||||||
| Participants: | |||||||||
| Description |
|
Most usages of getCurrentMetadataIfKnown are actually meant to be getCollectionDescription or getOwnershipFilter except for a few cases. Investigate and change where appropiate and make sure the return type of getCurrentMetadataIfKnown is properly managed. |
| Comments |
| Comment by Githook User [ 09/Apr/20 ] |
|
Author: {'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}Message:
Have been moved from CSS to CSR to ensure no external usages. Moreover the getShardVersion command is now foribidden on unsharded |
| Comment by Marcos José Grillo Ramirez [ 03/Mar/20 ] |
|
Stopped momentarily to finish https://jira.mongodb.org/browse/SERVER-45781 first |