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

Colin P. McCabe commented on KAFKA-4991:
----------------------------------------

findbugs warning:
{code}
Multithreaded correctness Warnings                                              
                                                                                
                                                                                
                                          
   IS   Inconsistent synchronization of 
org.apache.kafka.common.security.kerberos.KerberosLogin.loginContext; locked 
50% of time                                                                     
                                                                                
     
{code}

> KerberosLogin#login should probably be synchronized
> ---------------------------------------------------
>
>                 Key: KAFKA-4991
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4991
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>
> KerberosLogin#login should probably be synchronized, since it is modifying 
> {{loginContext}} and {{lastLogin}}, which are normally only accessed under 
> the lock.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to