kafka/metadata
Ron Dagostino ef65b6e566
KAFKA-14195: Fix KRaft AlterConfig policy usage for Legacy/Full case (#12578)
#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.

Reviewers: José Armando García Sancio <jsancio@gmail.com>, Colin P. McCabe <cmccabe@apache.org>
2022-09-01 15:59:17 -07:00
..
src KAFKA-14195: Fix KRaft AlterConfig policy usage for Legacy/Full case (#12578) 2022-09-01 15:59:17 -07:00
.gitignore KAFKA-13429: ignore bin on new modules (#11415) 2021-11-10 14:36:24 -06:00