[ https://issues.apache.org/jira/browse/KAFKA-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363349#comment-14363349 ]
Gwen Shapira commented on KAFKA-1994: ------------------------------------- New patch looks good. [~singhashish], can you share how does the performance of the code with new patch compares to that of the older solution and to that of createPersistent() without any of the checks? > Evaluate performance effect of chroot check on Topic creation > ------------------------------------------------------------- > > Key: KAFKA-1994 > URL: https://issues.apache.org/jira/browse/KAFKA-1994 > Project: Kafka > Issue Type: Improvement > Reporter: Ashish K Singh > Assignee: Ashish K Singh > Attachments: KAFKA-1994.patch, KAFKA-1994_2015-03-03_18:19:45.patch > > > KAFKA-1664 adds check for chroot while creating a node in ZK. ZkPath checks > if namespace exists before trying to create a path in ZK. This raises a > concern that checking namespace for each path creation might be unnecessary > and can potentially make creations expensive. -- This message was sent by Atlassian JIRA (v6.3.4#6332)