[SERVER-34715] Fix log_format_slowms_samplerate_loglevel.js by ensuring that the query planner always chooses the same plan Created: 27/Apr/18 Updated: 29/Oct/23 Resolved: 30/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Testing Infrastructure |
| Affects Version/s: | 3.7.8 |
| Fix Version/s: | 4.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bernard Gorman | Assignee: | Bernard Gorman |
| 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 | ||||
| Sprint: | Query 2018-05-07 | ||||
| Participants: | |||||
| Linked BF Score: | 46 | ||||
| Description |
|
The log_format_slowms_samplerate_loglevel.js in the noPassthrough suite is consistently failing on certain variants. This is because the test exercises both mongoD and mongoS logging in a sharded cluster, and on these particular variants queries favour the _id:1 index over the _id:hashed index on which the collection is sharded. Fix this by sharding the cluster on _id:1 to ensure that the planner always chooses the expected index. |
| Comments |
| Comment by Githook User [ 01/May/18 ] |
|
Author: {'email': 'bernard.gorman@gmail.com', 'name': 'Bernard Gorman', 'username': 'gormanb'}Message: |
| Comment by Githook User [ 30/Apr/18 ] |
|
Author: {'email': 'bernard.gorman@gmail.com', 'username': 'gormanb', 'name': 'Bernard Gorman'}Message: |