zentol commented on a change in pull request #14390:
URL: https://github.com/apache/flink/pull/14390#discussion_r544681812



##########
File path: 
flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer.java
##########
@@ -1086,8 +1086,8 @@ public void initializeState(FunctionInitializationContext 
context) throws Except
                nextTransactionalIdHintState = 
context.getOperatorStateStore().getUnionListState(
                        NEXT_TRANSACTIONAL_ID_HINT_DESCRIPTOR_V2);
 
-               if 
(context.getOperatorStateStore().getRegisteredStateNames().contains(NEXT_TRANSACTIONAL_ID_HINT_DESCRIPTOR))
 {
-                       migrateNextTransactionalIdHindState(context);
+               if 
(context.getOperatorStateStore().getRegisteredStateNames().contains(NEXT_TRANSACTIONAL_ID_HINT_DESCRIPTOR.getName()))
 {

Review comment:
       Can you even upgrade to 1.9/1.12 though given that this code is 
presumably broken and has been present in 1.9?




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

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


Reply via email to