From 6ebb03791f4cf57f06d129cb0eb4825a3531cb70 Mon Sep 17 00:00:00 2001 From: dragondriver Date: Sat, 20 Feb 2021 10:37:11 +0800 Subject: [PATCH] Fix drop index interface Signed-off-by: dragondriver --- internal/distributed/indexservice/service.go | 4 ++++ internal/distributed/masterservice/server.go | 4 ++++ internal/distributed/proxynode/service.go | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/internal/distributed/indexservice/service.go b/internal/distributed/indexservice/service.go index 1e6fad920b..60d913fdd0 100644 --- a/internal/distributed/indexservice/service.go +++ b/internal/distributed/indexservice/service.go @@ -32,6 +32,10 @@ type Server struct { loopWg sync.WaitGroup } +func (s *Server) DropIndex(ctx context.Context, request *indexpb.DropIndexRequest) (*commonpb.Status, error) { + panic("implement me") +} + func (s *Server) Run() error { if err := s.init(); err != nil { diff --git a/internal/distributed/masterservice/server.go b/internal/distributed/masterservice/server.go index 491b6c5bc7..6c3e3d34a4 100644 --- a/internal/distributed/masterservice/server.go +++ b/internal/distributed/masterservice/server.go @@ -27,6 +27,10 @@ type GrpcServer struct { cancel context.CancelFunc } +func (s *GrpcServer) DropIndex(ctx context.Context, request *milvuspb.DropIndexRequest) (*commonpb.Status, error) { + panic("implement me") +} + func NewGrpcServer(ctx context.Context, factory msgstream.Factory) (*GrpcServer, error) { s := &GrpcServer{} var err error diff --git a/internal/distributed/proxynode/service.go b/internal/distributed/proxynode/service.go index 9851e811d4..6a3ce066f4 100644 --- a/internal/distributed/proxynode/service.go +++ b/internal/distributed/proxynode/service.go @@ -48,6 +48,10 @@ type Server struct { indexServiceClient *grpcindexserviceclient.Client } +func (s *Server) DropIndex(ctx context.Context, request *milvuspb.DropIndexRequest) (*commonpb.Status, error) { + panic("implement me") +} + func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) { server := &Server{