Mongo FLE keyvault collection has hardcoded majority read and write concern

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hello,

      currently the key vault has hardcoded majority read and write concern: https://github.com/mongodb/mongo-go-driver/blob/master/mongo/client.go#L40-L46

       

      This does not let us run our applications with any other concern, since our applications utilize FLE. Even if the rest of the application uses read local and w=1, the key vault reads will hang indefinitely if a majority read is not currently available.

      What is the rationale behind this? Would you be open to allowing a config entry point that would allow to change the read and write concern on the key vault to something else?

       

      Thank you,

       

      Elena Flat

            Assignee:
            Unassigned
            Reporter:
            Elena Flat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: