kafka/checkstyle
David Arthur 0822ce0ed1
KAFKA-14840: Support for snapshots during ZK migration (#13461)
This patch adds support for handling metadata snapshots while in dual-write mode. Prior to this change, if the active
controller loaded a snapshot, it would get out of sync with the ZK state.

In order to reconcile the snapshot state with ZK, several methods were added to scan through the metadata in ZK to
compute differences with the MetadataImage. Since this introduced a lot of code, I opted to split out a lot of methods
from ZkMigrationClient into their own client interfaces, such as TopicMigrationClient, ConfigMigrationClient, and
AclMigrationClient. Each of these has some iterator method that lets the caller examine the ZK state in a single pass
and without using too much memory.

Reviewers: Colin P. McCabe <cmccabe@apache.org>, Luke Chen <showuon@gmail.com>
2023-05-05 01:35:26 -07:00
..
.scalafmt.conf MINOR: Update Scalafmt to latest version (#12475) 2022-09-12 10:05:15 -04:00
checkstyle.xml KAFKA-14457; Controller metrics should only expose committed data (#12994) 2022-12-20 10:55:14 -08:00
import-control-core.xml KAFKA-9550 Copying log segments to tiered storage in RemoteLogManager (#13487) 2023-04-12 13:55:36 +08:00
import-control-jmh-benchmarks.xml KAFKA-14735: Improve KRaft metadata image change performance at high … (#13280) 2023-04-17 17:52:28 -04:00
import-control-metadata.xml KAFKA-14859: SCRAM ZK to KRaft migration with dual write (#13628) 2023-05-01 09:56:04 -04:00
import-control-server-common.xml KAFKA-14735: Improve KRaft metadata image change performance at high … (#13280) 2023-04-17 17:52:28 -04:00
import-control.xml KAFKA-14592: Move FeatureCommand to tools (#13459) 2023-04-25 20:28:37 +08:00
java.header
suppressions.xml KAFKA-14840: Support for snapshots during ZK migration (#13461) 2023-05-05 01:35:26 -07:00