[SERVER-84368] CreateIndex fails with StaleConfig if run from a stale mongos against a sharded non-empty collection Created: 21/Dec/23 Updated: 30/Jan/24 Resolved: 25/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Enrico Golfieri | Assignee: | Marcos José Grillo Ramirez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | car-qw, investigation | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v7.3, v7.0, v6.0, v5.0
|
||||||||||||||||||||
| Steps To Reproduce: | const dbName = 'testDB'; ; , name: "index_on_time"}]}; |
||||||||||||||||||||
| Sprint: | CAR Team 2024-01-22, CAR Team 2024-02-05 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Story Points: | 2 | ||||||||||||||||||||
| Description |
|
Currently spotted a bug where given 2 mongos:
in case mongos1 (which is now stale) runs createIndex it will fail 10 times without trying a refresh. I attached a test to reproduce the error which is unclear. Important notes:
The ticket is necessary for track unsharded collection since after Once the ticket is done, please fix the TODO |
| Comments |
| Comment by Githook User [ 24/Jan/24 ] |
|
Author: {'name': 'Marcos Grillo', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message:
Co-authored-by: Allison Easton <allison.easton@mongodb.com> |