Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Replication
-
Fully Compatible
-
Repl 2023-09-04, Repl 2023-09-18
Description
While looking at BF-29617 I noticed a gap in logging we have in our stepup path which could help improve debugging in the future. In ReplicaSetAwareServiceRegistry::onStepUpComplete we rely on the individual services to log their status. If one of these services hung during stepup it would be very difficult to debug what was happening since most do not log any in onStepUpComplete.
I propose we add 2 logs here, an info level log at the beginning of the function and a debug level log before we call onStepUpComplete on each service.
This would be similar to killOpsForStorageEngineChange