Add comments to explain setSystemOperationUnkillableByStepdown

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Repl 2023-09-04, Repl 2023-09-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The function name setSystemOperationUnkillableByStepdown is not clearly expressing the exact case of killOp during stepdown. Like, the thread won't be interrupted during stepdown if it doesn't hold any global lock. 

      We should add more comments around setSystemOperationUnkillableByStepdown so people who want to use it can make the right choice. We'd better provide suggestions on when a thread is interrupted by stepdown, how should the upper layer handle it.

            Assignee:
            Jiawei Yang
            Reporter:
            Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: