Clarify expected error if backoff exceeds CSOT's deadline in withTransaction

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: CSOT, Transactions
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  

      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   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-6233 Blocked
      CXX-3414 Blocked
      CSHARP-5869 Blocked
      GODRIVER-3810 Blocked
      JAVA-6093 Blocked
      NODE-7430 Blocked
      PYTHON-5716 Blocked
      PHPLIB-1783 Blocked
      RUBY-3770 Blocked
      RUST-2357 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-6233 Blocked CXX-3414 Blocked CSHARP-5869 Blocked GODRIVER-3810 Blocked JAVA-6093 Blocked NODE-7430 Blocked PYTHON-5716 Blocked PHPLIB-1783 Blocked RUBY-3770 Blocked RUST-2357 Blocked

      Summary

      The transaction's convenient API spec currently says that, when applying exponential backoff between retries, if the delay would exceed CSOT's deadline, drivers are to raise the previously encountered error. Instead, drivers should raise a timeout error because CSOT has expired.

      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

      • Clarify that if timeoutMS expires, a timeout error should be raised.

            Assignee:
            Nabil Hachicha
            Reporter:
            Bailey Pearson
            Daria Pardue Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: