From a01bfa153f2c1771380046392515aff97c96f77b Mon Sep 17 00:00:00 2001 From: SungJin1212 Date: Sat, 25 Jan 2025 08:54:12 +0900 Subject: [PATCH] Remove TransferChunks gRPC method (#6543) Signed-off-by: SungJin1212 --- pkg/cortex/cortex.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/cortex/cortex.go b/pkg/cortex/cortex.go index ee62bf7ee5..4623ea2c48 100644 --- a/pkg/cortex/cortex.go +++ b/pkg/cortex/cortex.go @@ -344,13 +344,10 @@ func New(cfg Config) (*Cortex, error) { tenant.WithDefaultResolver(tenant.NewMultiResolver()) } - // Don't check auth header on TransferChunks, as we weren't originally - // sending it and this could cause transfers to fail on update. cfg.API.HTTPAuthMiddleware = fakeauth.SetupAuthMiddleware(&cfg.Server, cfg.AuthEnabled, // Also don't check auth for these gRPC methods, since single call is used for multiple users (or no user like health check). []string{ "/grpc.health.v1.Health/Check", - "/cortex.Ingester/TransferChunks", "/frontend.Frontend/Process", "/frontend.Frontend/NotifyClientShutdown", "/schedulerpb.SchedulerForFrontend/FrontendLoop",