Details
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.