Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-91790

non_transaction_snapshot_errors.js use of failpoint is racy

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0
    • 200

      It uses the failCommand to make the command it is about to send next fail x number of times a certain way, but if a background thread happens to run a similar command to that shard, then the background thread will end up "consuming" the error instead of the test thread.

      Looks like transactions_snapshot_errors_first_statement.js also have the same issue.

            Assignee:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: