move restartAOFAfterSYNC from replicaofCommand to replicationUnsetMaster
replicationUnsetMaster can be called from other places, not just replicaofCOmmand, and all of these need to restart AOF
Please register or sign in to comment
replicationUnsetMaster can be called from other places, not just replicaofCOmmand, and all of these need to restart AOF