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

Fail commands that require too many locks instead of crashing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.4, 3.5.6
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Steps To Reproduce:
      Hide

      Issue an applyOps command with inserts into more than 10 capped collections.

      Show
      Issue an applyOps command with inserts into more than 10 capped collections.
    • Sprint:
      Storage 2017-04-17

      Description

      If a single atomic applyOps command inserts into more than 10 capped collections, or causes more than 10 collections to have a multi-key index, that transaction may require more locks than a single operation is allowed to hold. In such situations, do not crash, but instead fail the operation and return an error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              geert.bosch Geert Bosch
              Reporter:
              geert.bosch Geert Bosch
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: