public <T extends HelixProperty> boolean updateProperty(
PropertyKey key, T value) {
// String path = PropertyPathConfig.getPath(type, _clusterName,
// keys);
String path = key.getPath();
PropertyType type = key.getType();
if (type.updateOnlyOnExists) {
if (data.containsKey(path)) {
if (type.mergeOnUpdate) {
ZNRecord znRecord = new ZNRecord(data.get(path));
znRecord.merge(value.getRecord());