public boolean addParticipant(ParticipantConfig participant) {
if (participant == null) {
LOG.error("Participant config cannot be null");
return false;
}
ClusterId clusterId = clusterId();
HelixLock lock = _lockProvider.getLock(clusterId, Scope.participant(participant.getId()));
boolean locked = lock.lock();
if (locked) {
try {
return _clusterAccessor.addParticipant(participant);