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

Never kill cursors in shell garbage collection in concurrency_simultaneous_replication

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3.1
    • Component/s: Replication, Shell
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12
    • Linked BF Score:
      14

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: