RexXiong commented on code in PR #2829:
URL: https://github.com/apache/celeborn/pull/2829#discussion_r1812065137
##########
master/src/main/scala/org/apache/celeborn/service/deploy/master/http/api/v1/RatisResource.scala:
##########
@@ -235,6 +245,50 @@ class RatisResource extends ApiRequestContext with Logging
{
}
}
+ @ApiResponse(
+ responseCode = "200",
+ content = Array(new Content(
+ mediaType = MediaType.APPLICATION_OCTET_STREAM,
+ schema = new Schema(implementation = classOf[Response]))),
+ description = "Generate a new-raft-meta.conf file based on original
raft-meta.conf" +
+ " and new peers, which is used to move a raft node to a new node.")
+ @POST
+ @Path("/local/raft_meta_conf")
+ @Produces(Array(MediaType.APPLICATION_OCTET_STREAM))
Review Comment:
IMO we need add another method for getting the raw local raft meta conf
--
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]