Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12019

Remove "lockType" from commands "help" output

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Internal Code, Usability
    • None
    • Minor Change

    Description

      Every command in the system can be run with the argument "help":1 to get help information about that command. The information returned contains a "lockType" field intended to indicate if that command takes a read or write lock, however that information comes from the locktype() method on every Command object, which is not accurate for most commands anymore as most commands now handle their own locking internally. We should remove this misleading and outdated field from the "help" output of all commands (or make it accurate for all commands, but that seems difficult to do).

      Attachments

        Activity

          People

            Unassigned Unassigned
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: