Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1671

Add log messages to Server selection spec

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Logging, Server Selection
    • None
    • Needed
    • Hide

      Log messages and corresponding tests for server selection logging were added via this commit.

      In summary, drivers will need to:

      • Implement the log messages defined here
      • Run the unified format tests defined here
      Show
      Log messages and corresponding tests for server selection logging were added via this commit . In summary, drivers will need to: Implement the log messages defined here Run the unified format tests defined here
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4487 Backlog
      CXX-2588 Backlog
      CSHARP-4347 Done 2.20.0
      GODRIVER-2572 Fixed 1.13.0, 1.13.1
      JAVA-4754 Done 5.0.0
      NODE-4687 Fixed 6.4.0
      MOTOR-1039 Duplicate
      PYTHON-3459 Fixed 4.7
      PHPLIB-1000 Blocked
      RUBY-3146 Backlog
      RUST-1495 Fixed 2.6.0
      SWIFT-1645 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4487 Backlog CXX-2588 Backlog CSHARP-4347 Done 2.20.0 GODRIVER-2572 Fixed 1.13.0, 1.13.1 JAVA-4754 Done 5.0.0 NODE-4687 Fixed 6.4.0 MOTOR-1039 Duplicate PYTHON-3459 Fixed 4.7 PHPLIB-1000 Blocked RUBY-3146 Backlog RUST-1495 Fixed 2.6.0 SWIFT-1645 Won't Do

      Define both structured and unstructured versions of log messages for any existing logging behavior in this spec, and add new messages drivers should produce. If possible, update tests to include logging expectations.

      Add an explicit test to ensure that no extra server selection events are observed for session support in accordance with DRIVERS-2530.

      Note for implementers: DRIVERS-2530 is a pre-requisite to avoid race conditions in tests like this one.

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: