Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-142

SRV resolution is not thread-safe or fully windows compatible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0-dp3
    • 1.0.0-beta
    • None
    • None

    Description

      The current handling for SRV resolution involves our own custom implementation of a DNS client. This client only reads DNS config from the linux /etc/resolv.conf folder, and I'm not actually certain that configuration is actually used by the DNS client itself? Additionally, the initialization of the DNS configuration is done solely through an atomic boolean, and is performed synchronously, and thus multiple concurrent calls to the function could lead to a race or blocked asio executor.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jared.casey Jared Casey
            brett19 Brett Lawson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes