xiangforever2014 commented on code in PR #23253:
URL: https://github.com/apache/flink/pull/23253#discussion_r1427486664


##########
flink-clients/src/main/java/org/apache/flink/client/program/ClusterClient.java:
##########
@@ -188,6 +207,21 @@ CompletableFuture<String> triggerSavepoint(
      */
     CompletableFuture<Long> triggerCheckpoint(JobID jobId, CheckpointType 
checkpointType);
 
+    /**
+     * Triggers a detached savepoint for the job identified by the job id. The 
savepoint will be
+     * written to the given savepoint directory, or {@link
+     * 
org.apache.flink.configuration.CheckpointingOptions#SAVEPOINT_DIRECTORY} if it 
is null.
+     * Notice that: detach savepoint will return with a savepoint trigger id 
instead of the path
+     * future, that means the client will return very quickly.
+     *
+     * @param jobId job id
+     * @param savepointDirectory directory the savepoint should be written to
+     * @param formatType a binary format of the savepoint
+     * @return The savepoint trigger id
+     */
+    CompletableFuture<String> triggerDetachSavepoint(

Review Comment:
   Thanks for your careful comments, I have rename it to "detached" and checked 
all other places~



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