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

Make default distributed lock timeout for dropCollection 2 seconds

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.9
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding A (10/09/15)
    • Linked BF Score:
      0

      Description

      In general in a sharded system, it is preferable for the dropCollection command not to return immediately with a lock timeout error if the lock happens to be busy at the exact moment the command is issued.

      Allow the dropCollection command to wait up to 2 seconds before returning a LockBusy error.

        Attachments

          Activity

            People

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: