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

Implement new stepdown sequence, gated by “closeConnectionsOnStepdown”.

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.8
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2018-12-17, Repl 2019-01-14, Repl 2019-01-28
    • 15

      Design:

      1)  Start a new kill thread which kills all user operations which have taken global IX, X and S lock in a repeated loop.

      2) Wait until RSTL is acquired.

      3) Stop the kill thread.

       

      Tests should include:

      • Test that reads in progress in find or getMore continue after the stepdown.
      • Test that reads not in progress, but with an open cursor, are be able to be continued with getMore following the stepdown.

            Assignee:
            suganthi.mani@mongodb.com Suganthi Mani
            Reporter:
            greg.mckeon@mongodb.com Gregory McKeon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: