You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2023/02/01 17:05:00 UTC

[jira] [Created] (KAFKA-14668) NoOpRecord causes unnecessary UMR in migration mode

David Arthur created KAFKA-14668:
------------------------------------

             Summary: NoOpRecord causes unnecessary UMR in migration mode
                 Key: KAFKA-14668
                 URL: https://issues.apache.org/jira/browse/KAFKA-14668
             Project: Kafka
          Issue Type: Bug
            Reporter: David Arthur


While the KRaftMigrationDriver is in "dual write" mode, in addition to propagating metadata back to ZooKeeper, it is sending controller RPCs to ZK brokers. When a NoOpRecord is written, it will trigger the metadata synchronization logic and send out redundant UMR even if no metadata has changed. This doesn't affect correctness of the metadata in the cluster, but will have a significant impact on performance for larger clusters.

 

We need to avoid sending RPCs to the ZK brokers when nothing has changed.



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