xiangforever2014 commented on PR #23253:
URL: https://github.com/apache/flink/pull/23253#issuecomment-1845053733

   @masteryhx Hello, I have updated the code according to your comment, PTAL~
   Here are the test results:
   1. trigger the normal savepoint, the client gets a timeout exception:
   
![img_v3_025t_ebcc0196-37f9-43d8-99b8-1c5010005f4g](https://github.com/apache/flink/assets/23545296/bc3b6bf2-9c19-43e6-9270-9529d384c6cd)
   2. trigger the detached savepoint, the client returns the trigger id 
immediately, and we could monitor the status of the savepoint by rest api:
   
![img_v3_025t_fd81de0b-563c-456d-a8f2-7804df9f5d1g](https://github.com/apache/flink/assets/23545296/860f5603-25e9-4c97-a714-44d1b7196999)
   
![img_v3_025t_eea0bf11-2a1d-4605-8f8f-f5c894eb488g](https://github.com/apache/flink/assets/23545296/6e96da72-8fad-46ff-b01b-e4c43fe84eca)
   
![img_v3_025t_febc7d37-c4b8-4d8f-b7f4-7f1a7a8ffc9g](https://github.com/apache/flink/assets/23545296/1c7c4017-74f1-4582-abd4-bff4647e9135)
   3. trigger the stop-with-savepoint, the client also gets a timeout 
exception, and the job will be stopped after the savepoint finished:
   
![img_v3_025t_e673b71c-ebae-4041-9c1c-7a1c0a613cfg](https://github.com/apache/flink/assets/23545296/4b03255e-e136-4203-8f57-0a85e3462060)
   
![img_v3_025t_e2868559-70ac-4d71-8e0a-3546eee6a5bg](https://github.com/apache/flink/assets/23545296/6aff8082-b999-4a2b-b7bf-3bdee93837ba)
   4. trigger the stop-with-detached-savepoint, the client also returns the 
trigger id immediately, and we could get the status of the savepoint by rest 
api through the trigger id, after the savepoint finished, the job will be 
stopped too:
   
![img_v3_025t_d3eb2c37-f726-4a4c-804b-5fda5b81eeag](https://github.com/apache/flink/assets/23545296/cb28bd6f-b229-4d3a-8546-f30777ac341e)
   
![img_v3_025t_e72a53d1-2411-4d79-b9a9-cc9474c3efdg](https://github.com/apache/flink/assets/23545296/cab23e80-2bc0-4306-b06b-9a8cbd0e3ec7)
   
![img_v3_025t_a2b1cfb5-6cf2-45db-bc83-dc475667989g](https://github.com/apache/flink/assets/23545296/28d8bccf-ae5d-4c59-8fb0-14b7c847fd9c)
   
![img_v3_025t_069dd3a5-3848-43c6-81d0-99e7ebc808cg](https://github.com/apache/flink/assets/23545296/ba03b8a1-a17b-46d7-a539-3dbf0763f9e5)
   


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to