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

Remove "lockType" from commands "help" output

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Internal Code, Usability
    • Labels:
      None
    • Minor Change

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

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

              Created:
              Updated:
              Resolved: