rondagostino opened a new pull request, #12578:
URL: https://github.com/apache/kafka/pull/12578

   https://github.com/apache/kafka/pull/12374 adjusted the invocation of the 
alter configs policy check in KRaft to match the behavior in ZooKeeper, which 
is to only provide the configs that were explicitly sent in the request.  While 
the code was correct for the incremental alter configs case, the code actually 
included the implicit deletions for the legacy/non-incremental alter configs 
case, and those implicit deletions are not included in the ZooKeeper-based 
invocation.  This patch adds a test to check for this and adjusts 
`ConfigurationControlManager` code so that the test passes -- the adjusted test 
is confirmed to fail locally otherwise.
   
   We also add a log statement to emit any unexpected stack traces in the alter 
config code path.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to