Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4511

types and levels of locks description inconsistency

    XMLWordPrintableJSON

Details

    Description

      There is an inconsistency in the way we describe locks when returned from currentOp(), as an example. According to http://docs.mongodb.org/manual/reference/method/db.currentOp/#currentOp.locks the ^ specifies database level lock, as in:

      "locks" : {
          "^connectors_celery" : "W"
      },

      but according to http://docs.mongodb.org/manual/reference/method/db.currentOp/#currentOp.lockStats the capital "W" means global level lock. This was raised by a customer who was asking about updateAndModify – we know that we do not take a global lock on updateAndModify, so the documentation is wrong

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.lerner Alex Lerner
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 14 weeks, 1 day ago