liming30 opened a new issue, #1732:
URL: https://github.com/apache/incubator-paimon/issues/1732

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Paimon version
   
   0.5-snapshot
   
   ### Compute Engine
   
   flink-1.17.1
   
   ### Minimal reproduce step
   
   The `commit_user_state` in `TableWriteOperator` is union state. Assuming 
that the parallism of `TableWriteOperator` is 100, when the Job completes the 
checkpoint for the first time and failover occurs, each `TableWriteOperator` 
will get a `ListState` with 100 elements. However, it is not cleared after 
recovery, so `TableWriteOperator` will upload 100 * 100 elements at the next 
checkpoint. If the checkpoint succeeds and the job fails again, each 
`TableWriteOperator` will get a `ListState` with 10,000 elements when it 
recovers, and so on.
   
   ### What doesn't meet your expectations?
   
   Checkpoint metadata continues to grow.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to