变更副本

This commit is contained in:
许晓东
2021-11-23 19:59:52 +08:00
parent a219551802
commit 62569c4454
7 changed files with 129 additions and 4 deletions

View File

@@ -80,6 +80,6 @@ public class TopicController {
@PostMapping("/replica/assignment")
public Object updateReplicaAssignment(@RequestBody ReplicaAssignment assignment) {
return "topicService.getCurrentReplicaAssignment(topic)";
return topicService.updateReplicaAssignment(assignment);
}
}