Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Replication
-
Repl 2019-09-23, Repl 2019-10-07, Repl 2019-10-21, Repl 2019-12-02
-
45
Description
ApplierState is an enum with values Running, Draining, and Stopped. It is currently owned by the ReplicationCoordinator. Move it to OplogApplier: it belongs there, and it will be easier to unittest drain mode once the OplogApplier and ReplicationCoordinator are less tightly coupled.
Currently, the oplog application code calls ReplicationCoordinator::getApplierState to determine its state. After this step, the oplog application code will own the ApplierState, and ReplicationCoordinator will call OplogApplier methods to change the state.
Attachments
Issue Links
- depends on
-
SERVER-41882 Finish the OplogApplier
-
- Closed
-
- related to
-
SERVER-44533 Complete TODO listed in SERVER-42996
-
- Closed
-