AutoGetCollectionForReadGlobalLockDeadline test can fail to obtain global lock within timeout of 0ms

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Concurrency
    • None
    • ALL
    • Execution Team 2020-03-23, Execution Team 2020-04-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The AutoGetCollectionForReadGlobalLockDeadline test attempts to acquire an exclusive global lock with a deadline of Date_t::now(). If any background operations which take locks are occurring at the time of the acquisition, the test will fail.

      It should be safe to set the deadline to Date_t::max() to remove the timing dependency of the global lock acquisition, since the timing dependent part of the test happens after said acquisition.

              Assignee:
              Maria van Keulen
              Reporter:
              Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: