-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
Repl 2023-09-04, Repl 2023-09-18
-
None
-
0
-
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.