Provide code examples for non-backpressure drivers handling backpressure errors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Unknown
    • None
    • Component/s: Retryability
    • None
    • Needed - No Spec Changes
    • Hide

      Summary of necessary driver changes

      SUPERSEDED BY DRIVERS-3438
      Add code examples to the appropriate language tab on https://docs.google.com/document/d/1yI22A2OQQUp7UzndH5MPMwCg3rKwUFNCVhQmurj1HeU/edit?tab=t.0#heading=h.kdl3ocoaru0d.

      •  

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

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes SUPERSEDED BY DRIVERS-3438 Add code examples to the appropriate language tab on https://docs.google.com/document/d/1yI22A2OQQUp7UzndH5MPMwCg3rKwUFNCVhQmurj1HeU/edit?tab=t.0#heading=h.kdl3ocoaru0d .   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-6211 Done
      CXX-3404 Done
      CSHARP-5851 Declined
      GODRIVER-3778 Done 2.6.0
      JAVA-6068 Declined
      NODE-7407 Done
      PYTHON-5701 Done
      PHPLIB-1773 Done
      RUBY-3760 Declined
      RUST-2345 Declined
      $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-6211 Done CXX-3404 Done CSHARP-5851 Declined GODRIVER-3778 Done 2.6.0 JAVA-6068 Declined NODE-7407 Done PYTHON-5701 Done PHPLIB-1773 Done RUBY-3760 Declined RUST-2345 Declined

      Summary

      SUPERSEDED BY DRIVERS-3438.

      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?

      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

      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:
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: