[SERVER-64142] Add new enforceUniqueness to refineCollectionShardKey command Created: 02/Mar/22 Updated: 29/Oct/23 Resolved: 28/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0, 4.4.17, 5.0.12 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v5.0, v4.4, v4.2
|
||||||||||||||||||||
| Sprint: | Sharding NYC 2022-03-21, Sharding NYC 2022-04-04 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
(Analogous to enforceUniqueness defaults to true and when set to false, ignores uniqueness property when validating indexes for refineCollectionShardKey. Regardless of both settings, refineCollectionShardKey should still return an error if there are no index that is compatible with the new shard key pattern. |
| Comments |
| Comment by Githook User [ 25/Aug/22 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: (cherry picked from commit 22964e1ae4dfe67e4d5e20520e6d91c9c58c105c) |
| Comment by Githook User [ 23/Aug/22 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: (cherry picked from commit b355fd53d1b13d217e32061c92d5ca902d6209c3) |
| Comment by Githook User [ 28/Mar/22 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: |