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

Increase transactionLifetimeLimitSeconds in transactions_reaped_with_tickets_exhausted.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-03-11
    • 35

      The transactions_reaped_with_tickets_exhausted.js starts a transaction and then runs several collection 'drop' commands on the same database which are expected to block behind the transaction. Then, the test tries to run another operation on the transaction which it expects to block behind the collection drops and eventually time out due to the transaction expiring and being reaped. At the beginning of the test, it sets transactionLifetimeLimitSeconds to 5 seconds, so that the second operation on the transaction will eventually fail when the transaction is reaped. This timeout is low enough that sometimes the transaction will get reaped before the collection drop commands are started, causing the test to erroneously fail. We should either increase this timeout or make the test resilient to timing differences on various hosts.

            Assignee:
            william.schultz@mongodb.com William Schultz
            Reporter:
            william.schultz@mongodb.com William Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: