From 164f169b70ba3985a042f53058a84c5de736a5d8 Mon Sep 17 00:00:00 2001 From: Vladimir Davydov Date: Tue, 25 Mar 2025 17:34:10 +0300 Subject: [PATCH] proto: add engine parameter to DDLService.CreateSpace Part of tarantool/aeon#399 --- aeon_ddl.proto | 2 ++ aeon_schema.proto | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/aeon_ddl.proto b/aeon_ddl.proto index a92b828..4f394c0 100644 --- a/aeon_ddl.proto +++ b/aeon_ddl.proto @@ -23,6 +23,8 @@ message CreateSpaceRequest { repeated FieldDef format = 2; // Sorting key definition (indexed fields). repeated KeyPartDef key_def = 3; + // Storage engine. + Engine engine = 4; } message CreateSpaceResponse { diff --git a/aeon_schema.proto b/aeon_schema.proto index a1fa02f..2640bbd 100644 --- a/aeon_schema.proto +++ b/aeon_schema.proto @@ -31,6 +31,12 @@ message Operation { Tuple tuple = 3; } +// Storage engine. +enum Engine { + ENGINE_MEMTX = 0; + ENGINE_VINYL = 1; +} + // Type a space field can have. enum FieldType { FIELD_TYPE_UNSPECIFIED = 0;