Geker opened a new pull request #968: ZKUtil deleteRecursive check LOG Level before calculate the parameter URL: https://github.com/apache/zookeeper/pull/968 LOG.debug("Deleting " + tree); will be calculate tree.toString() even if the log level is higher than debug. this pull request check debugEnabled before logging,avoid deleteRecursive large tree which may cause OOM.
---------------------------------------------------------------- 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] With regards, Apache Git Services
