[SERVER-61249] refine_collection_shard_key_basic.js relies on a best-effort refresh that might not happen in case of failover Created: 04/Nov/21 Updated: 29/Oct/23 Resolved: 15/Dec/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.14, 5.3.0, 5.0.7, 4.4.15 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jordi Serra Torrens | Assignee: | Jordi Serra Torrens |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-product-sync, sharding-wfbf-sprint | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v5.0, v4.4
|
||||||||
| Sprint: | Sharding EMEA 2022-01-10 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 28 | ||||||||
| Description |
|
In refine_collection_shard_key_basic.js, we refine the shard key and then wait for the shards to discover the new collection epoch. refine_collection_shard_key_basic.js should either: |
| Comments |
| Comment by Githook User [ 04/May/22 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit a3741453e5c602514b1b9554e236792204ab907e) |
| Comment by Githook User [ 22/Feb/22 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit a3741453e5c602514b1b9554e236792204ab907e) |
| Comment by Githook User [ 15/Dec/21 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: |
| Comment by Connie Chen [ 13/Dec/21 ] |
|
The work in this ticket is to remove the lines that are checking the best effort refresh. (i.e. option #1) |
| Comment by Kaloian Manassiev [ 12/Nov/21 ] |
|
We want to make it resilient to crashes and as part of the coordinator we need to ensure that the shard refreshes. We think this work will take one iteration to complete. |