IMHO “Slave” is the problematic word here. I think it’s better to avoid the slavery analogy and instead use “worker” or “replica”.
I'd suggest changing both, so you won't possibly be asked to change again later. I went with "Primary/Replica" here, because it's genuinely more logically descriptive of the roles, as well as moving completely away from older "traditional" use of language that might cause offence or hurt.