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

Never kill cursors in shell garbage collection in concurrency_simultaneous_replication

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.1, 4.3.1
    • Affects Version/s: None
    • Component/s: Replication, Shell
    • Labels:
      None
    • Fully Compatible
    • v4.2
    • Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12
    • 14

      We need to expose a knob to disable the killCursor behavior in concurrency test suites because killCursor can be triggered by garbage collection at any time, which may be blocked by strong global locks that are waiting behind running transactions. Those running transaction may be running in the same thread as the garbage collection, e.g. in the shell, so none of them can make progress. When the transaction times out, the problem will go away, but since we increased the timeout in concurrency_simultaneous_replication to very large, the test will hang.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: