Mahsa Seifikar created KAFKA-19282:
--------------------------------------

             Summary: Update quotaTypesEnabled on quota removal in 
ClientQuotaManager
                 Key: KAFKA-19282
                 URL: https://issues.apache.org/jira/browse/KAFKA-19282
             Project: Kafka
          Issue Type: Bug
            Reporter: Mahsa Seifikar
            Assignee: Mahsa Seifikar


In kafka.server.ClientQuotaManager class, quotaTypesEnabled is not updated when 
a quota is removed via removeQuota method in DefaultQuotaCallback class. This 
field is set when quotas are added in updateQuota but it's never changed or 
cleared. This can lead to incorrect behaviour in the quotaEnabled method. So in 
case all the quotas have been removed dynamically, the system may incorrectly 
assume the quotas are active, which leads to unnecessary metric creation or 
updates until the broker is restarted.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to