[SERVER-77247] Allow users to retry a configureQueryAnalyzer command to disable query sampling Created: 17/May/23 Updated: 29/Oct/23 Resolved: 18/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Cheahuychou Mao |
| 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: |
v7.0
|
||||||||
| Sprint: | Sharding NYC 2023-05-29 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 35 | ||||||||
| Description |
|
The configureQueryAnalyzer command currently has a uassert that would throw if a user tries to disable query sampling while query is not active. While such warning can be useful, it has caused the command to be non-retryable across failover or network errors. For this reason, uassert should be replaced with a warning log message instead. |
| Comments |
| Comment by Githook User [ 18/May/23 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: (cherry picked from commit d7bf13d97da047abfe9098a6b5f98678e89cd987) |
| Comment by Githook User [ 18/May/23 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: |