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

types and levels of locks description inconsistency

      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

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

              Created:
              Updated:
              Resolved:
              1 year, 25 weeks, 3 days ago