zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] Geker opened a new pull request #968: ZKUtil deleteRecursive check LOG Level before calculate the parameter
Date Wed, 05 Jun 2019 10:02:15 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message