From ea07b453f4d3467a14727cf5899b0d156aa8242f Mon Sep 17 00:00:00 2001 From: prajjwalkumar17 Date: Mon, 13 Jan 2025 14:04:16 +0530 Subject: [PATCH] refactor(euclid): update proto file for elimination routing --- proto/elimination_rate.proto | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/proto/elimination_rate.proto b/proto/elimination_rate.proto index c5f10597ade2..d585dd2494bf 100644 --- a/proto/elimination_rate.proto +++ b/proto/elimination_rate.proto @@ -28,8 +28,17 @@ message EliminationResponse { message LabelWithStatus { string label = 1; - bool is_eliminated = 2; - string bucket_name = 3; + EliminationInformation elimination_information = 2; +} + +message EliminationInformation { + BucketInformation entity = 1; + BucketInformation global = 2; +} + +message BucketInformation { + bool is_eliminated = 1; + repeated string bucket_name = 2; } // API-2 types @@ -64,4 +73,4 @@ message InvalidateBucketResponse { BUCKET_INVALIDATION_FAILED = 1; } InvalidationStatus status = 1; -} \ No newline at end of file +}