ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 9.0.13, 8.1.14, 7.6.3, 8.0.14
    • Affects Version/s: 9.0.12, 8.1.13, 8.0.13, 7.6.2
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • Ruby Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Mongoid stashes the in-memory regexp budget for the current thread under the key 'regexp-budget'. Every other key it uses is prefixed with '[mongoid]:' so it can't clash with anything else.

      If something else happens to use that same key, Mongoid sees the value already there and assumes a budget is open, so the regexp bound for the query gets skipped. Master is unaffected because its thread-local keys all live under a single [mongoid] hash.

            Assignee:
            Jamis Buck
            Reporter:
            Jamis Buck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: