replication: move connect_state calculations out from trigger
The idea is to simplify applier_on_connect_f as much as possible, so that it only wakes the waiter up, but doesn't participate in any decisions regarding the replicaset connection state. In-scope-of #8509 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Please register or sign in to comment