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

Test that wait queue timeout errors do not clear the pool

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: CMAP, CSOT
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  Drivers should sync this new CSOT test: source/client-side-operations-timeout/tests/waitQueueTimeout.yml
      • If your driver has not implemented CSOT tests yet this ticket can be closed as a duplicate.

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Show
      Summary of necessary driver changes  Drivers should sync this new CSOT test: source/client-side-operations-timeout/tests/waitQueueTimeout.yml If your driver has not implemented CSOT tests yet this ticket can be closed as a duplicate. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   https://github.com/mongodb/specifications/commit/6118debee41cfd1bca197b315bd1f10ad95f66ae
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5928 Backlog
      CXX-3248 Backlog
      CSHARP-5524 Backlog
      GODRIVER-3505 Done
      JAVA-5815 Backlog
      NODE-6857 Backlog
      MOTOR-1442 Duplicate
      PYTHON-5208 Fixed 4.12
      PHPLIB-1644 Won't Do
      RUBY-3633 Backlog
      RUST-2178 Duplicate
      $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 */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5928 Backlog CXX-3248 Backlog CSHARP-5524 Backlog GODRIVER-3505 Done JAVA-5815 Backlog NODE-6857 Backlog MOTOR-1442 Duplicate PYTHON-5208 Fixed 4.12 PHPLIB-1644 Won't Do RUBY-3633 Backlog RUST-2178 Duplicate

      In PYTHON-5202 we discovered a bug where pymongo would clear the pool after a WaitQueueTimeoutError. This is problematic because WaitQueueTimeoutError is likely to happen when the system is under heavy load and clearing the pool will make that worse (since connections needs to be recreated).

      We should add a unified spec test to ensure wait queue timeout errors do not clear the pool.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Shane Harvey Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: