Fixes #22667. Replaced leader/follower terminology with primary/replica