Never kill cursors in shell garbage collection in concurrency_simultaneous_replication

XMLWordPrintableJSON

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

      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
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: