From 1e8acd918c2bab109dba01f45f0efcf8f6988c2c Mon Sep 17 00:00:00 2001 From: Li0k Date: Wed, 18 Sep 2024 16:43:20 +0800 Subject: [PATCH] feat(compaction): introduce new task status for serverless compaction (#18575) --- proto/hummock.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/hummock.proto b/proto/hummock.proto index 5d66a2b7bb79b..b8db84b0d889c 100644 --- a/proto/hummock.proto +++ b/proto/hummock.proto @@ -346,6 +346,10 @@ message CompactTask { TRACK_SST_OBJECT_ID_FAILED = 12; NO_AVAIL_CPU_RESOURCE_CANCELED = 13; HEARTBEAT_PROGRESS_CANCELED = 14; + + // for serverless compaction + SERVERLESS_SEND_FAIL_CANCELED = 15; + SERVERLESS_TABLE_NOT_FOUND_CANCELED = 16; } // SSTs to be compacted, which will be removed from LSM after compaction repeated InputLevel input_ssts = 1;