ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.2, 9.0.13
    • Affects Version/s: 9.1.1, 9.0.12
    • 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

      When the rake task creates search indexes, the code that queues them up runs inside Mongoid's "collection management" scope, but the part that then waits for them to finish doesn't. It polls the database directly, unlike the other search-index paths that keep the scope.

      Because of that, the persistence guard's usual pass for collection management doesn't apply, and the wait can blow up with a NoEncryptionSchema error for an encrypted model, even though the index creation right before it was fine.

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

              Created:
              Updated:
              Resolved: