From 4cb76fde14e022663e4261d648746b7c62a25ed8 Mon Sep 17 00:00:00 2001 From: smellthemoon <64083300+smellthemoon@users.noreply.github.com> Date: Fri, 14 Feb 2025 15:06:15 +0800 Subject: [PATCH] fix: not pass the indexname when drop properties (#39678) #38967 Signed-off-by: lixinguo Co-authored-by: lixinguo --- internal/distributed/proxy/httpserver/handler_v2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/proxy/httpserver/handler_v2.go b/internal/distributed/proxy/httpserver/handler_v2.go index 0a74020382..edf75c246b 100644 --- a/internal/distributed/proxy/httpserver/handler_v2.go +++ b/internal/distributed/proxy/httpserver/handler_v2.go @@ -2347,6 +2347,7 @@ func (h *HandlersV2) dropIndexProperties(ctx context.Context, c *gin.Context, an DbName: dbName, CollectionName: httpReq.CollectionName, DeleteKeys: httpReq.PropertyKeys, + IndexName: httpReq.IndexName, } c.Set(ContextRequest, req) resp, err := wrapperProxyWithLimit(ctx, c, req, h.checkAuth, false, "/milvus.proto.milvus.MilvusService/AlterIndex", true, h.proxy, func(reqCtx context.Context, req any) (interface{}, error) {