Use primary in replica set