From 67717876c392761b27acbe94f699ca33fc48679f Mon Sep 17 00:00:00 2001 From: Mergen Imeev Date: Mon, 22 Dec 2025 18:05:04 +0300 Subject: [PATCH] proto: support CDC restart This patch adds a new DDL RPC that allows CDC to be restarted on a space. Needed for tarantool/aeon#589 --- aeon_ddl.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/aeon_ddl.proto b/aeon_ddl.proto index b2283fb..fd97627 100644 --- a/aeon_ddl.proto +++ b/aeon_ddl.proto @@ -12,6 +12,9 @@ service DDLService { // Drops a space by name. rpc DropSpace(DropSpaceRequest) returns (DropSpaceResponse) {} + + // Restart CDC for a space. + rpc RestartCDC(RestartCDCRequest) returns (RestartCDCResponse) {} } // Creates a space with the given definition. @@ -52,3 +55,15 @@ message DropSpaceResponse { // Error information. Set only on failure. Error error = 1; } + +// Restart CDC on a space. + +message RestartCDCRequest { + // Name of the space to restart CDC. + string space = 1; +} + +message RestartCDCResponse { + // Error information. Set only on failure. + Error error = 1; +}