Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2648

Mongo FLE keyvault collection has hardcoded majority read and write concern

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            eflat@league.com Elena Flat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: