Store scram secrets in topology scanner

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.17.0-rc0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Scram secrets are currently cached in mongoc_cluster_t, which is not available when doing speculative auth for single-threaded clients in the topology scanner. To work around this limitation, scram secrets should no longer be cached in mongoc_cluster_t, but rather mongoc_topology_scanner_t.

      This came up during the code review for CDRIVER-3559 (see https://mongodbcr.appspot.com/563660001/diff/561540009/src/libmongoc/src/mongoc/mongoc-cluster.c#newcode1361)

              Assignee:
              Unassigned
              Reporter:
              Andreas Braun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: