mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Fix drop index interface
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
b3891ca199
commit
6ebb03791f
@ -32,6 +32,10 @@ type Server struct {
|
|||||||
loopWg sync.WaitGroup
|
loopWg sync.WaitGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *Server) DropIndex(ctx context.Context, request *indexpb.DropIndexRequest) (*commonpb.Status, error) {
|
||||||
|
panic("implement me")
|
||||||
|
}
|
||||||
|
|
||||||
func (s *Server) Run() error {
|
func (s *Server) Run() error {
|
||||||
|
|
||||||
if err := s.init(); err != nil {
|
if err := s.init(); err != nil {
|
||||||
|
|||||||
@ -27,6 +27,10 @@ type GrpcServer struct {
|
|||||||
cancel context.CancelFunc
|
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) {
|
func NewGrpcServer(ctx context.Context, factory msgstream.Factory) (*GrpcServer, error) {
|
||||||
s := &GrpcServer{}
|
s := &GrpcServer{}
|
||||||
var err error
|
var err error
|
||||||
|
|||||||
@ -48,6 +48,10 @@ type Server struct {
|
|||||||
indexServiceClient *grpcindexserviceclient.Client
|
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) {
|
func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) {
|
||||||
|
|
||||||
server := &Server{
|
server := &Server{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user