Update retryable writes test documentation for failCommand failpoint

XMLWordPrintableJSON

    • Type: Spec Change
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Component/s: Retryability
    • None
    • Needed

      In SPEC-1071 I updated the retryable write spec tests to use the failCommand fail point but only onPrimaryTransactionalWrite is documented in the test readme.

      For example this section is no longer accurate:

      After each test that configures a fail point, drivers should disable the
      ``onPrimaryTransactionalWrite`` fail point to avoid spurious failures in
      subsequent tests. The fail point may be disabled like so::
      
          db.runCommand({
              configureFailPoint: "onPrimaryTransactionalWrite",
              mode: "off"
          });
      

      Each test needs to disable the fail point that it set which could be "failCommand" or "onPrimaryTransactionalWrite".

              Assignee:
              Unassigned
              Reporter:
              Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: