Add ability to override server's defaultMaxTimeMS in tools that perform reads

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator
    • 64
    • Needed

      From MongoDB version 8.0 onwards, the user could set defaultMaxTimeMS on their server as the max time for read operations. This could cause trouble during reads in mongodump etc because the find() queries they run could take quite long while backing up all the data.

      We should provide user with a way to ignore the defaultMaxTimeMS and either use their own, or just have no timeout at all, while running tools like mongodump.

      We need to:

      • Add a new command line parameter to set the timeout that the user wants
      • Set the timeout using timeoutMS on the client side

            Assignee:
            Unassigned
            Reporter:
            Shyam Subramaniyam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: