Github user lei-xia commented on a diff in the pull request:

    https://github.com/apache/helix/pull/159#discussion_r177534964
  
    --- Diff: 
helix-core/src/main/java/org/apache/helix/manager/zk/CallbackHandler.java ---
    @@ -153,7 +195,12 @@ private void parseListenerProperties() {
         BatchMode batchMode = 
_listener.getClass().getAnnotation(BatchMode.class);
         PreFetch preFetch = _listener.getClass().getAnnotation(PreFetch.class);
     
    -    String asyncBatchModeEnabled = 
System.getProperty("isAsyncBatchModeEnabled");
    +    String asyncBatchModeEnabled = 
System.getProperty("helix.callbackhandler.isAsyncBatchModeEnabled");
    --- End diff --
    
    it is backcompatible, the code reads 
""helix.callbackhandler.isAsyncBatchModeEnabled"" first, if it is not set, it 
reads "isAsyncBatchModeEnabled" instead (see the lines 199-202 following) 


---

Reply via email to