Provide updated code examples for non-backpressure drivers handling backpressure errors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Retryability
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-6278 Blocked
      CXX-3454 Blocked
      CSHARP-5954 Blocked
      GODRIVER-3849 Blocked
      JAVA-6156 Blocked
      NODE-7506 Blocked
      PYTHON-5770 In Code Review
      PHPLIB-1821 Blocked
      RUBY-3798 Blocked
      RUST-2392 Blocked
      $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-6278 Blocked CXX-3454 Blocked CSHARP-5954 Blocked GODRIVER-3849 Blocked JAVA-6156 Blocked NODE-7506 Blocked PYTHON-5770 In Code Review PHPLIB-1821 Blocked RUBY-3798 Blocked RUST-2392 Blocked

      Summary

      What is the problem or use case, what are we trying to achieve?

      Supersedes DRIVERS-3378.

      When rate limiting is turned on in the server, users not using backpressure compliant drivers might see an increase in SystemOverloadedErrors when the server is overloaded. We plan to instruct users to upgrade ASAP to these drivers, but for any user who cannot, we plan to provide a set of code examples showing how they can add backoff + jitter for SystemOverloadedErrors to their application themselves. 

      Motivation

      Who is the affected end user?

      Who are the stakeholders?

      How does this affect the end user?

      Are they blocked? Are they annoyed? Are they confused?

      How likely is it that this problem or use case will occur?

      Main path? Edge case?

      If the problem does occur, what are the consequences and how severe are they?

      Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?

      Is this issue urgent?

      Does this ticket have a required timeline? What is it?

      Is this ticket required by a downstream team?

      Needed by e.g. Atlas, Shell, Compass?

      Is this ticket only for tests?

      Does this ticket have any functional impact, or is it just test improvements?

      Acceptance Criteria

      What specific requirements must be met to consider the design phase complete?

      The exact code examples needed are still being finalized; however we know they'll probably look very similar to the Python code examples proposed here.

            Assignee:
            Noah Stapp
            Reporter:
            Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: