[SERVER-71139] Ensure indexes with simple collation are created correctly during initial sync Created: 07/Nov/22 Updated: 29/Oct/23 Resolved: 08/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.4, 6.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Russotto | Assignee: | Matthew Russotto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Requested: |
v6.1, v6.0, v5.0, v4.4, v4.2
|
||||||||||||||||||||||||
| Sprint: | Repl 2022-11-14 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 148 | ||||||||||||||||||||||||
| Description |
|
Add a test to cover the case where an index with (explicit) simple collation on a collection with a non-simple default collation is replicated in the cloning phase of logical initial sync. The index should be created with simple collation, not default collation. |
| Comments |
| Comment by Githook User [ 30/Nov/22 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}Message: (cherry picked from commit dcd18cacc2d15c23c244aeb169c15a8753ae98db) |
| Comment by Matthew Russotto [ 11/Nov/22 ] |
|
In any backports, be sure to backport also |
| Comment by Moustafa Maher [ 11/Nov/22 ] |
|
We need mongosync to start picking up the new version of this test to replicate the data generated by that test. |
| Comment by Githook User [ 08/Nov/22 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}Message: |
| Comment by Matthew Russotto [ 07/Nov/22 ] |
|
We should add creation of the simple-collation index on a non-simple-collation collection as a jscore test picked up by the initial sync passthrough, not as a targeted initial sync test. |