From 99a43f4e312d5fb3314eee546943ce6caf9572b5 Mon Sep 17 00:00:00 2001 From: "y_static_y@sina.com" Date: Fri, 25 Aug 2023 11:14:27 +0800 Subject: [PATCH] auto id req check ks Signed-off-by: y_static_y@sina.com --- proto/autoid.proto | 1 + scripts/proto.lock | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/proto/autoid.proto b/proto/autoid.proto index cc2c597f0..252ae58e6 100644 --- a/proto/autoid.proto +++ b/proto/autoid.proto @@ -18,6 +18,7 @@ message AutoIDRequest { uint64 n = 4; int64 increment = 5; int64 offset = 6; + uint32 keyspaceID = 7; } message AutoIDResponse { diff --git a/scripts/proto.lock b/scripts/proto.lock index 19665e878..0ed6c16d6 100644 --- a/scripts/proto.lock +++ b/scripts/proto.lock @@ -36,6 +36,11 @@ "id": 6, "name": "offset", "type": "int64" + }, + { + "id": 7, + "name": "keyspaceID", + "type": "uint32" } ] },