Should reappend $db when stripped from mongocryptd

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per SERVER-40354, $db is always stripped from a command result mongocryptd. But libmongocrypt will return the original command (unmodified) if it determines no encryption is necessary because no schema was configured. For consistency, we should always strip $db. Then wrapping drivers can always append $db after auto encryption.

            Assignee:
            Unassigned
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: