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

Timeout in jstestfuzz due to printing WriteConflictException stack traces for all operations

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2021-06-14
    • 48

      In jstestfuzz_replication_write_conflicts.yml, we enable the parameter that prints WriteConflictException stack traces for all operations here. There was a build failure where 10 concurrent clients were running, 5 of which were running collection.remove({}) simultaneously on a collection of 100,000 documents. This caused a lot of WriteConflictExceptions to be thrown between these operations. These operations had to print stack traces, which caused a slowdown leading to the 2-hour timeout.

       

      When the WTWriteConflictException or WTWriteConflictExceptionForReads fail points are used and hit, we should consider printing the stack traces for those operations, as opposed to using traceWriteConflictExceptions. This would reduce the amount of noise and logging produced in the test.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: