[SERVER-79576] Do not require users to pass $db argument to query settings commands Created: 01/Aug/23  Updated: 02/Aug/23  Resolved: 02/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Denis Grebennicov Assignee: Denis Grebennicov
Resolution: Won't Do Votes: 0
Labels: M1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: QE 2023-08-07
Participants:

 Description   

Currently users need to pass $db as part of the arguments to the set- and removeQuerySettings commands.

It would be great if this would not be needed and instead users would pass the namespacestring including the dbname to the command.



 Comments   
Comment by Denis Grebennicov [ 02/Aug/23 ]

Discussed this with david.storch@mongodb.com and christopher.harris@mongodb.com over Slack.

$db attribute is present in the command output as part of the explain as well as slow logs, therefore agreed on requiring users to pass $db as part of the query that users want to set query settings on, as it currently does

Generated at Thu Feb 08 06:41:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.