alirezazamani commented on a change in pull request #1087:
URL: https://github.com/apache/helix/pull/1087#discussion_r439695881
##########
File path:
helix-core/src/main/java/org/apache/helix/spectator/RoutingDataCache.java
##########
@@ -142,9 +142,11 @@ public synchronized void refresh(HelixDataAccessor
accessor) {
if (LOG.isDebugEnabled()) {
LOG.debug("CurrentStates: " + _currentStateCache);
LOG.debug("TargetExternalViews: " +
_targetExternalViewCache.getExternalViewMap());
- for (String customizedStateType :
_sourceDataTypeMap.get(PropertyType.CUSTOMIZEDVIEW)) {
- LOG.debug("CustomizedViews customizedStateType: " +
customizedStateType + " "
- +
_customizedViewCaches.get(customizedStateType).getCustomizedViewMap());
+ if (_sourceDataTypeMap.containsKey(PropertyType.CUSTOMIZEDVIEW)) {
Review comment:
@jiajunwang Addressed. Could you please confirm? Then we can merge it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]