kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Brahmbhatt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-2587) Transient test failure: `SimpleAclAuthorizerTest`
Date Fri, 02 Oct 2015 18:33:27 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941533#comment-14941533

Parth Brahmbhatt commented on KAFKA-2587:

Hey Ismael,

As mentioned above, in production given all notifications will be processed sequentially and
as part of each notification we read the acls from zookeeper (source of truth) this issue
should not happen in production as long as zookeeper guarantees read after write consistency.
We may run into this issue in the case where we observe inconsistency due to zookeeper not
supporting "Simultaneously Consistent Cross-Client Views". Please see Notes section in http://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html#ch_zkGuarantees.

I looked at the zkClient code to see if we can call sync before read to avoid any consistency
concerns but zkClient does not support sync.

> Transient test failure: `SimpleAclAuthorizerTest`
> -------------------------------------------------
>                 Key: KAFKA-2587
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2587
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Ismael Juma
>            Assignee: Parth Brahmbhatt
>             Fix For:
> I've seen `SimpleAclAuthorizerTest ` fail a couple of times since its recent introduction.
Here's one such build:
> https://builds.apache.org/job/kafka-trunk-git-pr/576/console
> [~parth.brahmbhatt], can you please take a look and see if it's an easy fix?

This message was sent by Atlassian JIRA

View raw message