chore: add connection id to Process (#245)

* add connection id to Process

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>

* feat/add-connection-id-to-process-info:
 **Update `server.proto` for ProcessInfo Message**

 - Changed the data type of `id` from `uint64` to `uint32` in the `ProcessInfo` message.
 - Removed the `connection_id` field from the `ProcessInfo` message.

 Affected file:
 - `proto/greptime/v1/frontend/server.proto`

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>

* feat/add-connection-id-to-process-info:
 Update `process_id` type in `server.proto`

 - Changed the data type of `process_id` from `uint64` to `uint32` in `proto/greptime/v1/frontend/server.proto` to align with system requirements.

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>

---------

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
This commit is contained in:
Lei, HUANG
2025-06-17 11:40:59 +08:00
committed by GitHub
parent 1797152367
commit fdcbe5f1c7
4 changed files with 110 additions and 112 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ message KillProcessRequest {
// Catalog of process to kill.
string catalog = 2;
// ID of process to kill.
uint64 process_id = 3;
uint32 process_id = 3;
}
message KillProcessResponse {
@@ -51,7 +51,7 @@ message KillProcessResponse {
message ProcessInfo {
// ID.
uint64 id = 1;
uint32 id = 1;
// Catalog of process.
string catalog = 2;
// Involved schemas.