[ https://issues.apache.org/jira/browse/FLINK-33316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778510#comment-17778510 ]
Rui Fan commented on FLINK-33316: --------------------------------- The change is subtle, so I push this commit directly. Merged 1.17: 024fa4776d0246a283a70743f1ce3c04981daeb9 Merged 1.18: 0dd3b4ce9f0b9f193926445bf9c1f8579fa86161 > Avoid unnecessary heavy getStreamOperatorFactory > ------------------------------------------------ > > Key: FLINK-33316 > URL: https://issues.apache.org/jira/browse/FLINK-33316 > Project: Flink > Issue Type: Sub-task > Components: Runtime / Configuration > Affects Versions: 1.17.0, 1.18.0 > Reporter: Rui Fan > Assignee: Rui Fan > Priority: Major > Labels: pull-request-available > Fix For: 1.19.0 > > > See FLINK-33315 for details. > This Jira focus on avoid unnecessary heavy getStreamOperatorFactory, it can > optimize the memory and cpu cost of Replica_2 in FLINK-33315. > Solution: We can store the serializedUdfClassName at StreamConfig, and using > the getStreamOperatorFactoryClassName instead of the heavy > getStreamOperatorFactory in OperatorChain#getOperatorRecordsOutCounter. -- This message was sent by Atlassian Jira (v8.20.10#820010)