diff --git a/internal/datacoord/index_meta.go b/internal/datacoord/index_meta.go index 89316512cb..8ad558638c 100644 --- a/internal/datacoord/index_meta.go +++ b/internal/datacoord/index_meta.go @@ -29,7 +29,6 @@ import ( "github.com/milvus-io/milvus/internal/log" "github.com/milvus-io/milvus/internal/metastore/model" "github.com/milvus-io/milvus/internal/metrics" - "github.com/milvus-io/milvus/internal/proto/datapb" "github.com/milvus-io/milvus/internal/proto/indexpb" "github.com/prometheus/client_golang/prometheus" ) @@ -98,7 +97,7 @@ func (m *meta) updateIndexTasksMetrics() { } } -func checkParams(fieldIndex *model.Index, req *datapb.CreateIndexRequest) bool { +func checkParams(fieldIndex *model.Index, req *indexpb.CreateIndexRequest) bool { if len(fieldIndex.TypeParams) != len(req.TypeParams) { return false } @@ -137,7 +136,7 @@ func checkParams(fieldIndex *model.Index, req *datapb.CreateIndexRequest) bool { return !notEq } -func (m *meta) CanCreateIndex(req *datapb.CreateIndexRequest) (UniqueID, error) { +func (m *meta) CanCreateIndex(req *indexpb.CreateIndexRequest) (UniqueID, error) { m.RLock() defer m.RUnlock() @@ -170,7 +169,7 @@ func (m *meta) CanCreateIndex(req *datapb.CreateIndexRequest) (UniqueID, error) } // HasSameReq determine whether there are same indexing tasks. -func (m *meta) HasSameReq(req *datapb.CreateIndexRequest) (bool, UniqueID) { +func (m *meta) HasSameReq(req *indexpb.CreateIndexRequest) (bool, UniqueID) { m.RLock() defer m.RUnlock() diff --git a/internal/datacoord/index_meta_test.go b/internal/datacoord/index_meta_test.go index be829ba77f..956f2c77b6 100644 --- a/internal/datacoord/index_meta_test.go +++ b/internal/datacoord/index_meta_test.go @@ -75,7 +75,7 @@ func TestMeta_CanCreateIndex(t *testing.T) { buildID2SegmentIndex: map[UniqueID]*model.SegmentIndex{}, } - req := &datapb.CreateIndexRequest{ + req := &indexpb.CreateIndexRequest{ CollectionID: collID, FieldID: fieldID, IndexName: indexName, @@ -189,7 +189,7 @@ func TestMeta_HasSameReq(t *testing.T) { buildID2SegmentIndex: map[UniqueID]*model.SegmentIndex{}, } - req := &datapb.CreateIndexRequest{ + req := &indexpb.CreateIndexRequest{ CollectionID: collID, FieldID: fieldID, IndexName: indexName, diff --git a/internal/datacoord/index_service.go b/internal/datacoord/index_service.go index 175f9b9b07..3853ae492a 100644 --- a/internal/datacoord/index_service.go +++ b/internal/datacoord/index_service.go @@ -27,7 +27,7 @@ import ( "github.com/milvus-io/milvus/internal/log" "github.com/milvus-io/milvus/internal/metastore/model" "github.com/milvus-io/milvus/internal/metrics" - "github.com/milvus-io/milvus/internal/proto/datapb" + "github.com/milvus-io/milvus/internal/proto/indexpb" "github.com/milvus-io/milvus/internal/util/metautil" "github.com/milvus-io/milvus/internal/util/paramtable" ) @@ -125,7 +125,7 @@ func (s *Server) createIndexForSegmentLoop(ctx context.Context) { // Index building is asynchronous, so when an index building request comes, an IndexID is assigned to the task and // will get all flushed segments from DataCoord and record tasks with these segments. The background process // indexBuilder will find this task and assign it to IndexNode for execution. -func (s *Server) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) { +func (s *Server) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) { log := log.Ctx(ctx) log.Info("receive CreateIndex request", zap.Int64("CollectionID", req.GetCollectionID()), zap.String("IndexName", req.GetIndexName()), zap.Int64("fieldID", req.GetFieldID()), @@ -205,7 +205,7 @@ func (s *Server) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest } // GetIndexState gets the index state of the index name in the request from Proxy. -func (s *Server) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { +func (s *Server) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { log := log.Ctx(ctx) log.Info("receive GetIndexState request", zap.Int64("collectionID", req.CollectionID), zap.String("indexName", req.IndexName)) @@ -218,7 +218,7 @@ func (s *Server) GetIndexState(ctx context.Context, req *datapb.GetIndexStateReq log.Warn(msgDataCoordIsUnhealthy(paramtable.GetNodeID())) errResp.ErrorCode = commonpb.ErrorCode_DataCoordNA errResp.Reason = msgDataCoordIsUnhealthy(paramtable.GetNodeID()) - return &datapb.GetIndexStateResponse{ + return &indexpb.GetIndexStateResponse{ Status: errResp, }, nil } @@ -229,7 +229,7 @@ func (s *Server) GetIndexState(ctx context.Context, req *datapb.GetIndexStateReq errResp.Reason = fmt.Sprintf("there is no index on collection: %d with the index name: %s", req.CollectionID, req.IndexName) log.Error("GetIndexState fail", zap.Int64("collectionID", req.CollectionID), zap.String("indexName", req.IndexName), zap.String("fail reason", errResp.Reason)) - return &datapb.GetIndexStateResponse{ + return &indexpb.GetIndexStateResponse{ Status: errResp, }, nil } @@ -237,18 +237,18 @@ func (s *Server) GetIndexState(ctx context.Context, req *datapb.GetIndexStateReq log.Warn(msgAmbiguousIndexName()) errResp.ErrorCode = commonpb.ErrorCode_UnexpectedError errResp.Reason = msgAmbiguousIndexName() - return &datapb.GetIndexStateResponse{ + return &indexpb.GetIndexStateResponse{ Status: errResp, }, nil } - ret := &datapb.GetIndexStateResponse{ + ret := &indexpb.GetIndexStateResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, State: commonpb.IndexState_Finished, } - indexInfo := &datapb.IndexInfo{ + indexInfo := &indexpb.IndexInfo{ IndexedRows: 0, TotalRows: 0, State: 0, @@ -265,7 +265,7 @@ func (s *Server) GetIndexState(ctx context.Context, req *datapb.GetIndexStateReq return ret, nil } -func (s *Server) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { +func (s *Server) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { log := log.Ctx(ctx) log.Info("receive GetSegmentIndexState", zap.Int64("CollectionID", req.GetCollectionID()), zap.String("IndexName", req.GetIndexName()), zap.Int64s("fieldID", req.GetSegmentIDs())) @@ -277,23 +277,23 @@ func (s *Server) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmen log.Warn(msgDataCoordIsUnhealthy(paramtable.GetNodeID())) errResp.ErrorCode = commonpb.ErrorCode_DataCoordNA errResp.Reason = msgDataCoordIsUnhealthy(paramtable.GetNodeID()) - return &datapb.GetSegmentIndexStateResponse{ + return &indexpb.GetSegmentIndexStateResponse{ Status: errResp, }, nil } - ret := &datapb.GetSegmentIndexStateResponse{ + ret := &indexpb.GetSegmentIndexStateResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, - States: make([]*datapb.SegmentIndexState, 0), + States: make([]*indexpb.SegmentIndexState, 0), } indexID2CreateTs := s.meta.GetIndexIDByName(req.GetCollectionID(), req.GetIndexName()) if len(indexID2CreateTs) == 0 { errMsg := fmt.Sprintf("there is no index on collection: %d with the index name: %s", req.CollectionID, req.GetIndexName()) log.Error("GetSegmentIndexState fail", zap.Int64("collectionID", req.GetCollectionID()), zap.String("indexName", req.GetIndexName()), zap.String("fail reason", errMsg)) - return &datapb.GetSegmentIndexStateResponse{ + return &indexpb.GetSegmentIndexStateResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_IndexNotExist, Reason: errMsg, @@ -302,7 +302,7 @@ func (s *Server) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmen } for _, segID := range req.SegmentIDs { state := s.meta.GetSegmentIndexState(req.GetCollectionID(), segID) - ret.States = append(ret.States, &datapb.SegmentIndexState{ + ret.States = append(ret.States, &indexpb.SegmentIndexState{ SegmentID: segID, State: state.state, FailReason: state.failReason, @@ -314,7 +314,7 @@ func (s *Server) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmen } // completeIndexInfo get the building index row count and index task state -func (s *Server) completeIndexInfo(indexInfo *datapb.IndexInfo, index *model.Index, segments []*SegmentInfo) { +func (s *Server) completeIndexInfo(indexInfo *indexpb.IndexInfo, index *model.Index, segments []*SegmentInfo) { var ( cntNone = 0 cntUnissued = 0 @@ -374,7 +374,7 @@ func (s *Server) completeIndexInfo(indexInfo *datapb.IndexInfo, index *model.Ind } // GetIndexBuildProgress get the index building progress by num rows. -func (s *Server) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) { +func (s *Server) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) { log := log.Ctx(ctx) log.Info("receive GetIndexBuildProgress request", zap.Int64("collID", req.GetCollectionID()), zap.String("indexName", req.GetIndexName())) @@ -386,7 +386,7 @@ func (s *Server) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndex log.Warn(msgDataCoordIsUnhealthy(paramtable.GetNodeID())) errResp.ErrorCode = commonpb.ErrorCode_DataCoordNA errResp.Reason = msgDataCoordIsUnhealthy(paramtable.GetNodeID()) - return &datapb.GetIndexBuildProgressResponse{ + return &indexpb.GetIndexBuildProgressResponse{ Status: errResp, }, nil } @@ -396,14 +396,14 @@ func (s *Server) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndex errMsg := fmt.Sprintf("there is no index on collection: %d with the index name: %s", req.CollectionID, req.IndexName) log.Error("GetIndexBuildProgress fail", zap.Int64("collectionID", req.CollectionID), zap.String("indexName", req.IndexName), zap.String("fail reason", errMsg)) - return &datapb.GetIndexBuildProgressResponse{ + return &indexpb.GetIndexBuildProgressResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_IndexNotExist, Reason: errMsg, }, }, nil } - indexInfo := &datapb.IndexInfo{ + indexInfo := &indexpb.IndexInfo{ IndexedRows: 0, TotalRows: 0, State: 0, @@ -413,7 +413,7 @@ func (s *Server) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndex })) log.Info("GetIndexBuildProgress success", zap.Int64("collectionID", req.GetCollectionID()), zap.String("indexName", req.GetIndexName())) - return &datapb.GetIndexBuildProgressResponse{ + return &indexpb.GetIndexBuildProgressResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, @@ -423,7 +423,7 @@ func (s *Server) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndex } // DescribeIndex describe the index info of the collection. -func (s *Server) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { +func (s *Server) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { log := log.Ctx(ctx) log.Info("receive DescribeIndex request", zap.Int64("collID", req.GetCollectionID()), zap.String("indexName", req.GetIndexName())) @@ -435,7 +435,7 @@ func (s *Server) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexReq log.Warn(msgDataCoordIsUnhealthy(paramtable.GetNodeID())) errResp.ErrorCode = commonpb.ErrorCode_DataCoordNA errResp.Reason = msgDataCoordIsUnhealthy(paramtable.GetNodeID()) - return &datapb.DescribeIndexResponse{ + return &indexpb.DescribeIndexResponse{ Status: errResp, }, nil } @@ -445,7 +445,7 @@ func (s *Server) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexReq errMsg := fmt.Sprintf("there is no index on collection: %d with the index name: %s", req.CollectionID, req.IndexName) log.Error("DescribeIndex fail", zap.Int64("collectionID", req.CollectionID), zap.String("indexName", req.IndexName), zap.String("fail reason", errMsg)) - return &datapb.DescribeIndexResponse{ + return &indexpb.DescribeIndexResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_IndexNotExist, Reason: fmt.Sprint("index doesn't exist, collectionID ", req.CollectionID), @@ -457,9 +457,9 @@ func (s *Server) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexReq segments := s.meta.SelectSegments(func(info *SegmentInfo) bool { return isFlush(info) && info.CollectionID == req.GetCollectionID() }) - indexInfos := make([]*datapb.IndexInfo, 0) + indexInfos := make([]*indexpb.IndexInfo, 0) for _, index := range indexes { - indexInfo := &datapb.IndexInfo{ + indexInfo := &indexpb.IndexInfo{ CollectionID: index.CollectionID, FieldID: index.FieldID, IndexName: index.IndexName, @@ -478,7 +478,7 @@ func (s *Server) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexReq } log.Info("DescribeIndex success", zap.Int64("collectionID", req.GetCollectionID()), zap.String("indexName", req.GetIndexName())) - return &datapb.DescribeIndexResponse{ + return &indexpb.DescribeIndexResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, @@ -489,7 +489,7 @@ func (s *Server) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexReq // DropIndex deletes indexes based on IndexName. One IndexName corresponds to the index of an entire column. A column is // divided into many segments, and each segment corresponds to an IndexBuildID. DataCoord uses IndexBuildID to record // index tasks. -func (s *Server) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { +func (s *Server) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { log := log.Ctx(ctx) log.Info("receive DropIndex request", zap.Int64("collectionID", req.GetCollectionID()), zap.Int64s("partitionIDs", req.GetPartitionIDs()), zap.String("indexName", req.GetIndexName()), @@ -544,7 +544,7 @@ func (s *Server) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (* } // GetIndexInfos gets the index file paths for segment from DataCoord. -func (s *Server) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) { +func (s *Server) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) { log := log.Ctx(ctx) log.Info("receive GetIndexInfos request", zap.Int64("collectionID", req.GetCollectionID()), zap.Int64s("segmentIDs", req.GetSegmentIDs()), zap.String("indexName", req.GetIndexName())) @@ -556,24 +556,24 @@ func (s *Server) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequ log.Warn(msgDataCoordIsUnhealthy(paramtable.GetNodeID())) errResp.ErrorCode = commonpb.ErrorCode_DataCoordNA errResp.Reason = msgDataCoordIsUnhealthy(paramtable.GetNodeID()) - return &datapb.GetIndexInfoResponse{ + return &indexpb.GetIndexInfoResponse{ Status: errResp, }, nil } - ret := &datapb.GetIndexInfoResponse{ + ret := &indexpb.GetIndexInfoResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, - SegmentInfo: map[int64]*datapb.SegmentIndexInfo{}, + SegmentInfo: map[int64]*indexpb.SegmentInfo{}, } for _, segID := range req.SegmentIDs { segIdxes := s.meta.GetSegmentIndexes(segID) - ret.SegmentInfo[segID] = &datapb.SegmentIndexInfo{ + ret.SegmentInfo[segID] = &indexpb.SegmentInfo{ CollectionID: req.CollectionID, SegmentID: segID, EnableIndex: false, - IndexInfos: make([]*datapb.IndexFilePathInfo, 0), + IndexInfos: make([]*indexpb.IndexFilePathInfo, 0), } if len(segIdxes) != 0 { ret.SegmentInfo[segID].EnableIndex = true @@ -582,7 +582,7 @@ func (s *Server) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequ indexFilePaths := metautil.BuildSegmentIndexFilePaths(s.meta.chunkManager.RootPath(), segIdx.BuildID, segIdx.IndexVersion, segIdx.PartitionID, segIdx.SegmentID, segIdx.IndexFileKeys) ret.SegmentInfo[segID].IndexInfos = append(ret.SegmentInfo[segID].IndexInfos, - &datapb.IndexFilePathInfo{ + &indexpb.IndexFilePathInfo{ SegmentID: segID, FieldID: s.meta.GetFieldIDByIndexID(segIdx.CollectionID, segIdx.IndexID), IndexID: segIdx.IndexID, diff --git a/internal/datacoord/index_service_test.go b/internal/datacoord/index_service_test.go index c5ef4d3e37..74c68aad8b 100644 --- a/internal/datacoord/index_service_test.go +++ b/internal/datacoord/index_service_test.go @@ -22,6 +22,8 @@ import ( "testing" "time" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" @@ -52,7 +54,7 @@ func TestServer_CreateIndex(t *testing.T) { Value: "IVF_FLAT", }, } - req = &datapb.CreateIndexRequest{ + req = &indexpb.CreateIndexRequest{ CollectionID: collID, FieldID: fieldID, IndexName: indexName, @@ -162,7 +164,7 @@ func TestServer_GetIndexState(t *testing.T) { } createTS = uint64(1000) ctx = context.Background() - req = &datapb.GetIndexStateRequest{ + req = &indexpb.GetIndexStateRequest{ CollectionID: collID, IndexName: "", } @@ -279,7 +281,7 @@ func TestServer_GetSegmentIndexState(t *testing.T) { } createTS = uint64(1000) ctx = context.Background() - req = &datapb.GetSegmentIndexStateRequest{ + req = &indexpb.GetSegmentIndexStateRequest{ CollectionID: collID, IndexName: "", SegmentIDs: []UniqueID{segID}, @@ -416,7 +418,7 @@ func TestServer_GetIndexBuildProgress(t *testing.T) { } createTS = uint64(1000) ctx = context.Background() - req = &datapb.GetIndexBuildProgressRequest{ + req = &indexpb.GetIndexBuildProgressRequest{ CollectionID: collID, IndexName: "", } @@ -566,7 +568,7 @@ func TestServer_DescribeIndex(t *testing.T) { } createTS = uint64(1000) ctx = context.Background() - req = &datapb.DescribeIndexRequest{ + req = &indexpb.DescribeIndexRequest{ CollectionID: collID, IndexName: "", } @@ -791,7 +793,7 @@ func TestServer_DescribeIndex(t *testing.T) { }) t.Run("describe after drop index", func(t *testing.T) { - status, err := s.DropIndex(ctx, &datapb.DropIndexRequest{ + status, err := s.DropIndex(ctx, &indexpb.DropIndexRequest{ CollectionID: collID, PartitionIDs: nil, IndexName: "", @@ -828,7 +830,7 @@ func TestServer_DropIndex(t *testing.T) { } createTS = uint64(1000) ctx = context.Background() - req = &datapb.DropIndexRequest{ + req = &indexpb.DropIndexRequest{ CollectionID: collID, IndexName: indexName, } @@ -965,7 +967,7 @@ func TestServer_DropIndex(t *testing.T) { }) t.Run("drop one without indexName", func(t *testing.T) { - req = &datapb.DropIndexRequest{ + req = &indexpb.DropIndexRequest{ CollectionID: collID, PartitionIDs: nil, IndexName: "", @@ -977,7 +979,7 @@ func TestServer_DropIndex(t *testing.T) { }) t.Run("drop all indexes", func(t *testing.T) { - req = &datapb.DropIndexRequest{ + req = &indexpb.DropIndexRequest{ CollectionID: collID, PartitionIDs: nil, IndexName: "", @@ -989,7 +991,7 @@ func TestServer_DropIndex(t *testing.T) { }) t.Run("drop not exist index", func(t *testing.T) { - req = &datapb.DropIndexRequest{ + req = &indexpb.DropIndexRequest{ CollectionID: collID, PartitionIDs: nil, IndexName: "", @@ -1024,7 +1026,7 @@ func TestServer_GetIndexInfos(t *testing.T) { } createTS = uint64(1000) ctx = context.Background() - req = &datapb.GetIndexInfoRequest{ + req = &indexpb.GetIndexInfoRequest{ CollectionID: collID, SegmentIDs: []UniqueID{segID}, IndexName: indexName, diff --git a/internal/distributed/datacoord/client/client.go b/internal/distributed/datacoord/client/client.go index f7a2ad8392..cfbb74d4b6 100644 --- a/internal/distributed/datacoord/client/client.go +++ b/internal/distributed/datacoord/client/client.go @@ -29,6 +29,7 @@ import ( "github.com/milvus-io/milvus-proto/go-api/milvuspb" "github.com/milvus-io/milvus/internal/log" "github.com/milvus-io/milvus/internal/proto/datapb" + "github.com/milvus-io/milvus/internal/proto/indexpb" "github.com/milvus-io/milvus/internal/proto/internalpb" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/internal/util/commonpbutil" @@ -760,7 +761,7 @@ func (c *Client) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthReque } // CreateIndex sends the build index request to IndexCoord. -func (c *Client) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) { +func (c *Client) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) { ret, err := c.grpcClient.ReCall(ctx, func(client datapb.DataCoordClient) (any, error) { if !funcutil.CheckCtxValid(ctx) { return nil, ctx.Err() @@ -774,7 +775,7 @@ func (c *Client) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest } // GetIndexState gets the index states from IndexCoord. -func (c *Client) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { +func (c *Client) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { ret, err := c.grpcClient.ReCall(ctx, func(client datapb.DataCoordClient) (any, error) { if !funcutil.CheckCtxValid(ctx) { return nil, ctx.Err() @@ -784,11 +785,11 @@ func (c *Client) GetIndexState(ctx context.Context, req *datapb.GetIndexStateReq if err != nil || ret == nil { return nil, err } - return ret.(*datapb.GetIndexStateResponse), err + return ret.(*indexpb.GetIndexStateResponse), err } // GetSegmentIndexState gets the index states from IndexCoord. -func (c *Client) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { +func (c *Client) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { ret, err := c.grpcClient.ReCall(ctx, func(client datapb.DataCoordClient) (any, error) { if !funcutil.CheckCtxValid(ctx) { return nil, ctx.Err() @@ -798,11 +799,11 @@ func (c *Client) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmen if err != nil || ret == nil { return nil, err } - return ret.(*datapb.GetSegmentIndexStateResponse), err + return ret.(*indexpb.GetSegmentIndexStateResponse), err } // GetIndexInfos gets the index file paths from IndexCoord. -func (c *Client) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) { +func (c *Client) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) { ret, err := c.grpcClient.ReCall(ctx, func(client datapb.DataCoordClient) (any, error) { if !funcutil.CheckCtxValid(ctx) { return nil, ctx.Err() @@ -812,11 +813,11 @@ func (c *Client) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequ if err != nil || ret == nil { return nil, err } - return ret.(*datapb.GetIndexInfoResponse), err + return ret.(*indexpb.GetIndexInfoResponse), err } // DescribeIndex describe the index info of the collection. -func (c *Client) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { +func (c *Client) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { ret, err := c.grpcClient.ReCall(ctx, func(client datapb.DataCoordClient) (any, error) { if !funcutil.CheckCtxValid(ctx) { return nil, ctx.Err() @@ -826,11 +827,11 @@ func (c *Client) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexReq if err != nil || ret == nil { return nil, err } - return ret.(*datapb.DescribeIndexResponse), err + return ret.(*indexpb.DescribeIndexResponse), err } // GetIndexBuildProgress describe the progress of the index. -func (c *Client) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) { +func (c *Client) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) { ret, err := c.grpcClient.ReCall(ctx, func(client datapb.DataCoordClient) (any, error) { if !funcutil.CheckCtxValid(ctx) { return nil, ctx.Err() @@ -840,11 +841,11 @@ func (c *Client) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndex if err != nil || ret == nil { return nil, err } - return ret.(*datapb.GetIndexBuildProgressResponse), err + return ret.(*indexpb.GetIndexBuildProgressResponse), err } // DropIndex sends the drop index request to IndexCoord. -func (c *Client) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { +func (c *Client) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { ret, err := c.grpcClient.ReCall(ctx, func(client datapb.DataCoordClient) (any, error) { if !funcutil.CheckCtxValid(ctx) { return nil, ctx.Err() diff --git a/internal/distributed/datacoord/service.go b/internal/distributed/datacoord/service.go index 9b7ad9d959..53c445ce07 100644 --- a/internal/distributed/datacoord/service.go +++ b/internal/distributed/datacoord/service.go @@ -25,6 +25,8 @@ import ( "sync" "time" + "github.com/milvus-io/milvus/internal/proto/indexpb" + grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware" ot "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing" clientv3 "go.etcd.io/etcd/client/v3" @@ -158,6 +160,7 @@ func (s *Server) startGrpcLoop(grpcPort int) { grpc.StreamInterceptor(grpc_middleware.ChainStreamServer( ot.StreamServerInterceptor(opts...), logutil.StreamTraceLoggerInterceptor))) + indexpb.RegisterIndexCoordServer(s.grpcServer, s) datapb.RegisterDataCoordServer(s.grpcServer, s) go funcutil.CheckGrpcReady(ctx, s.grpcErrChan) if err := s.grpcServer.Serve(lis); err != nil { @@ -384,36 +387,36 @@ func (s *Server) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthReque } // CreateIndex sends the build index request to DataCoord. -func (s *Server) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) { +func (s *Server) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) { return s.dataCoord.CreateIndex(ctx, req) } // GetIndexState gets the index states from DataCoord. // Deprecated: use DescribeIndex instead -func (s *Server) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { +func (s *Server) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { return s.dataCoord.GetIndexState(ctx, req) } -func (s *Server) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { +func (s *Server) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { return s.dataCoord.GetSegmentIndexState(ctx, req) } // GetIndexInfos gets the index file paths from DataCoord. -func (s *Server) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) { +func (s *Server) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) { return s.dataCoord.GetIndexInfos(ctx, req) } // DescribeIndex gets all indexes of the collection. -func (s *Server) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { +func (s *Server) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { return s.dataCoord.DescribeIndex(ctx, req) } // DropIndex sends the drop index request to DataCoord. -func (s *Server) DropIndex(ctx context.Context, request *datapb.DropIndexRequest) (*commonpb.Status, error) { +func (s *Server) DropIndex(ctx context.Context, request *indexpb.DropIndexRequest) (*commonpb.Status, error) { return s.dataCoord.DropIndex(ctx, request) } // Deprecated: use DescribeIndex instead -func (s *Server) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) { +func (s *Server) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) { return s.dataCoord.GetIndexBuildProgress(ctx, req) } diff --git a/internal/distributed/datacoord/service_test.go b/internal/distributed/datacoord/service_test.go index da5a81d410..cefbf80d80 100644 --- a/internal/distributed/datacoord/service_test.go +++ b/internal/distributed/datacoord/service_test.go @@ -21,6 +21,8 @@ import ( "errors" "testing" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus-proto/go-api/milvuspb" "github.com/milvus-io/milvus/internal/proto/datapb" @@ -68,12 +70,12 @@ type MockDataCoord struct { broadCastResp *commonpb.Status createIndexResp *commonpb.Status - describeIndexResp *datapb.DescribeIndexResponse + describeIndexResp *indexpb.DescribeIndexResponse dropIndexResp *commonpb.Status - getIndexStateResp *datapb.GetIndexStateResponse - getIndexBuildProgressResp *datapb.GetIndexBuildProgressResponse - getSegmentIndexStateResp *datapb.GetSegmentIndexStateResponse - getIndexInfosResp *datapb.GetIndexInfoResponse + getIndexStateResp *indexpb.GetIndexStateResponse + getIndexBuildProgressResp *indexpb.GetIndexBuildProgressResponse + getSegmentIndexStateResp *indexpb.GetSegmentIndexStateResponse + getIndexInfosResp *indexpb.GetIndexInfoResponse } func (m *MockDataCoord) Init() error { @@ -232,31 +234,31 @@ func (m *MockDataCoord) CheckHealth(ctx context.Context, req *milvuspb.CheckHeal }, nil } -func (m *MockDataCoord) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) { +func (m *MockDataCoord) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) { return m.createIndexResp, m.err } -func (m *MockDataCoord) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { +func (m *MockDataCoord) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { return m.describeIndexResp, m.err } -func (m *MockDataCoord) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) { +func (m *MockDataCoord) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) { return m.getIndexInfosResp, m.err } -func (m *MockDataCoord) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { +func (m *MockDataCoord) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { return m.getIndexStateResp, m.err } -func (m *MockDataCoord) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) { +func (m *MockDataCoord) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) { return m.getIndexBuildProgressResp, m.err } -func (m *MockDataCoord) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { +func (m *MockDataCoord) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { return m.getSegmentIndexStateResp, m.err } -func (m *MockDataCoord) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { +func (m *MockDataCoord) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return m.dropIndexResp, m.err } @@ -577,7 +579,7 @@ func Test_NewServer(t *testing.T) { t.Run("DescribeIndex", func(t *testing.T) { server.dataCoord = &MockDataCoord{ - describeIndexResp: &datapb.DescribeIndexResponse{}, + describeIndexResp: &indexpb.DescribeIndexResponse{}, } ret, err := server.DescribeIndex(ctx, nil) assert.NoError(t, err) @@ -595,7 +597,7 @@ func Test_NewServer(t *testing.T) { t.Run("GetIndexState", func(t *testing.T) { server.dataCoord = &MockDataCoord{ - getIndexStateResp: &datapb.GetIndexStateResponse{}, + getIndexStateResp: &indexpb.GetIndexStateResponse{}, } ret, err := server.GetIndexState(ctx, nil) assert.NoError(t, err) @@ -604,7 +606,7 @@ func Test_NewServer(t *testing.T) { t.Run("GetIndexBuildProgress", func(t *testing.T) { server.dataCoord = &MockDataCoord{ - getIndexBuildProgressResp: &datapb.GetIndexBuildProgressResponse{}, + getIndexBuildProgressResp: &indexpb.GetIndexBuildProgressResponse{}, } ret, err := server.GetIndexBuildProgress(ctx, nil) assert.NoError(t, err) @@ -613,7 +615,7 @@ func Test_NewServer(t *testing.T) { t.Run("GetSegmentIndexState", func(t *testing.T) { server.dataCoord = &MockDataCoord{ - getSegmentIndexStateResp: &datapb.GetSegmentIndexStateResponse{}, + getSegmentIndexStateResp: &indexpb.GetSegmentIndexStateResponse{}, } ret, err := server.GetSegmentIndexState(ctx, nil) assert.NoError(t, err) @@ -622,7 +624,7 @@ func Test_NewServer(t *testing.T) { t.Run("GetIndexInfos", func(t *testing.T) { server.dataCoord = &MockDataCoord{ - getIndexInfosResp: &datapb.GetIndexInfoResponse{}, + getIndexInfosResp: &indexpb.GetIndexInfoResponse{}, } ret, err := server.GetIndexInfos(ctx, nil) assert.NoError(t, err) diff --git a/internal/distributed/proxy/service_test.go b/internal/distributed/proxy/service_test.go index d06373cc68..b54c84c643 100644 --- a/internal/distributed/proxy/service_test.go +++ b/internal/distributed/proxy/service_test.go @@ -28,6 +28,8 @@ import ( "testing" "time" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" clientv3 "go.etcd.io/etcd/client/v3" @@ -544,14 +546,6 @@ func (m *MockDataCoord) UpdateChannelCheckpoint(ctx context.Context, req *datapb return nil, nil } -func (m *MockDataCoord) AcquireSegmentLock(ctx context.Context, req *datapb.AcquireSegmentLockRequest) (*commonpb.Status, error) { - return nil, nil -} - -func (m *MockDataCoord) ReleaseSegmentLock(ctx context.Context, req *datapb.ReleaseSegmentLockRequest) (*commonpb.Status, error) { - return nil, nil -} - func (m *MockDataCoord) BroadcastAlteredCollection(ctx context.Context, req *datapb.AlterCollectionRequest) (*commonpb.Status, error) { return nil, nil } @@ -560,31 +554,31 @@ func (m *MockDataCoord) CheckHealth(ctx context.Context, req *milvuspb.CheckHeal return nil, nil } -func (m *MockDataCoord) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) { +func (m *MockDataCoord) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) { return nil, nil } -func (m *MockDataCoord) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { +func (m *MockDataCoord) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return nil, nil } -func (m *MockDataCoord) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { +func (m *MockDataCoord) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { return nil, nil } -func (m *MockDataCoord) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { +func (m *MockDataCoord) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { return nil, nil } -func (m *MockDataCoord) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) { +func (m *MockDataCoord) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) { return nil, nil } -func (m *MockDataCoord) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { +func (m *MockDataCoord) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { return nil, nil } -func (m *MockDataCoord) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) { +func (m *MockDataCoord) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) { return nil, nil } diff --git a/internal/metastore/kv/datacoord/kv_catalog.go b/internal/metastore/kv/datacoord/kv_catalog.go index 6b794bc60f..785c8168fa 100644 --- a/internal/metastore/kv/datacoord/kv_catalog.go +++ b/internal/metastore/kv/datacoord/kv_catalog.go @@ -23,6 +23,8 @@ import ( "strconv" "strings" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/golang/protobuf/proto" "go.uber.org/zap" "golang.org/x/exp/maps" @@ -571,7 +573,7 @@ func (kc *Catalog) ListIndexes(ctx context.Context) ([]*model.Index, error) { indexes := make([]*model.Index, 0) for _, value := range values { - meta := &datapb.FieldIndex{} + meta := &indexpb.FieldIndex{} err = proto.Unmarshal([]byte(value), meta) if err != nil { log.Warn("unmarshal index info failed", zap.Error(err)) @@ -641,7 +643,7 @@ func (kc *Catalog) ListSegmentIndexes(ctx context.Context) ([]*model.SegmentInde segIndexes := make([]*model.SegmentIndex, 0) for _, value := range values { - segmentIndexInfo := &datapb.SegmentIndex{} + segmentIndexInfo := &indexpb.SegmentIndex{} err = proto.Unmarshal([]byte(value), segmentIndexInfo) if err != nil { log.Warn("unmarshal segment index info failed", zap.Error(err)) diff --git a/internal/metastore/kv/datacoord/kv_catalog_test.go b/internal/metastore/kv/datacoord/kv_catalog_test.go index 0490366d98..c4a823c644 100644 --- a/internal/metastore/kv/datacoord/kv_catalog_test.go +++ b/internal/metastore/kv/datacoord/kv_catalog_test.go @@ -27,6 +27,8 @@ import ( "testing" "time" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/golang/protobuf/proto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" @@ -893,8 +895,8 @@ func TestCatalog_ListIndexes(t *testing.T) { t.Run("success", func(t *testing.T) { txn := &MockedTxnKV{ loadWithPrefix: func(key string) ([]string, []string, error) { - i := &datapb.FieldIndex{ - IndexInfo: &datapb.IndexInfo{ + i := &indexpb.FieldIndex{ + IndexInfo: &indexpb.IndexInfo{ CollectionID: 0, FieldID: 0, IndexName: "", @@ -1075,7 +1077,7 @@ func TestCatalog_CreateSegmentIndex(t *testing.T) { func TestCatalog_ListSegmentIndexes(t *testing.T) { t.Run("success", func(t *testing.T) { - segIdx := &datapb.SegmentIndex{ + segIdx := &indexpb.SegmentIndex{ CollectionID: 0, PartitionID: 0, SegmentID: 0, diff --git a/internal/metastore/model/index.go b/internal/metastore/model/index.go index 501992c0f2..f74fae0a3d 100644 --- a/internal/metastore/model/index.go +++ b/internal/metastore/model/index.go @@ -3,7 +3,7 @@ package model import ( "github.com/golang/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/commonpb" - "github.com/milvus-io/milvus/internal/proto/datapb" + "github.com/milvus-io/milvus/internal/proto/indexpb" ) type Index struct { @@ -20,7 +20,7 @@ type Index struct { UserIndexParams []*commonpb.KeyValuePair } -func UnmarshalIndexModel(indexInfo *datapb.FieldIndex) *Index { +func UnmarshalIndexModel(indexInfo *indexpb.FieldIndex) *Index { if indexInfo == nil { return nil } @@ -39,13 +39,13 @@ func UnmarshalIndexModel(indexInfo *datapb.FieldIndex) *Index { } } -func MarshalIndexModel(index *Index) *datapb.FieldIndex { +func MarshalIndexModel(index *Index) *indexpb.FieldIndex { if index == nil { return nil } - return &datapb.FieldIndex{ - IndexInfo: &datapb.IndexInfo{ + return &indexpb.FieldIndex{ + IndexInfo: &indexpb.IndexInfo{ CollectionID: index.CollectionID, FieldID: index.FieldID, IndexName: index.IndexName, diff --git a/internal/metastore/model/index_test.go b/internal/metastore/model/index_test.go index b207d9aa48..83a635a616 100644 --- a/internal/metastore/model/index_test.go +++ b/internal/metastore/model/index_test.go @@ -3,10 +3,11 @@ package model import ( "testing" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/commonpb" - "github.com/milvus-io/milvus/internal/proto/datapb" ) var ( @@ -27,8 +28,8 @@ var ( CreateTime: 1, } - indexPb = &datapb.FieldIndex{ - IndexInfo: &datapb.IndexInfo{ + indexPb = &indexpb.FieldIndex{ + IndexInfo: &indexpb.IndexInfo{ CollectionID: colID, FieldID: fieldID, IndexName: indexName, diff --git a/internal/metastore/model/segment_index.go b/internal/metastore/model/segment_index.go index 3a17b1a619..94fb4d4d59 100644 --- a/internal/metastore/model/segment_index.go +++ b/internal/metastore/model/segment_index.go @@ -3,7 +3,7 @@ package model import ( "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus/internal/common" - "github.com/milvus-io/milvus/internal/proto/datapb" + "github.com/milvus-io/milvus/internal/proto/indexpb" ) type SegmentIndex struct { @@ -25,7 +25,7 @@ type SegmentIndex struct { WriteHandoff bool } -func UnmarshalSegmentIndexModel(segIndex *datapb.SegmentIndex) *SegmentIndex { +func UnmarshalSegmentIndexModel(segIndex *indexpb.SegmentIndex) *SegmentIndex { if segIndex == nil { return nil } @@ -49,12 +49,12 @@ func UnmarshalSegmentIndexModel(segIndex *datapb.SegmentIndex) *SegmentIndex { } } -func MarshalSegmentIndexModel(segIdx *SegmentIndex) *datapb.SegmentIndex { +func MarshalSegmentIndexModel(segIdx *SegmentIndex) *indexpb.SegmentIndex { if segIdx == nil { return nil } - return &datapb.SegmentIndex{ + return &indexpb.SegmentIndex{ CollectionID: segIdx.CollectionID, PartitionID: segIdx.PartitionID, SegmentID: segIdx.SegmentID, diff --git a/internal/metastore/model/segment_index_test.go b/internal/metastore/model/segment_index_test.go index 27ee0e8dde..a6b49ea4e1 100644 --- a/internal/metastore/model/segment_index_test.go +++ b/internal/metastore/model/segment_index_test.go @@ -3,17 +3,18 @@ package model import ( "testing" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/commonpb" - "github.com/milvus-io/milvus/internal/proto/datapb" ) var ( segmentID = int64(1) buildID = int64(1) - segmentIdxPb = &datapb.SegmentIndex{ + segmentIdxPb = &indexpb.SegmentIndex{ CollectionID: colID, PartitionID: partID, SegmentID: segmentID, diff --git a/internal/mocks/mock_datacoord.go b/internal/mocks/mock_datacoord.go index d8cebc458e..ff9a9088c4 100644 --- a/internal/mocks/mock_datacoord.go +++ b/internal/mocks/mock_datacoord.go @@ -29,53 +29,6 @@ func (_m *DataCoord) EXPECT() *DataCoord_Expecter { return &DataCoord_Expecter{mock: &_m.Mock} } -// AcquireSegmentLock provides a mock function with given fields: ctx, req -func (_m *DataCoord) AcquireSegmentLock(ctx context.Context, req *datapb.AcquireSegmentLockRequest) (*commonpb.Status, error) { - ret := _m.Called(ctx, req) - - var r0 *commonpb.Status - if rf, ok := ret.Get(0).(func(context.Context, *datapb.AcquireSegmentLockRequest) *commonpb.Status); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*commonpb.Status) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.AcquireSegmentLockRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// DataCoord_AcquireSegmentLock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcquireSegmentLock' -type DataCoord_AcquireSegmentLock_Call struct { - *mock.Call -} - -// AcquireSegmentLock is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.AcquireSegmentLockRequest -func (_e *DataCoord_Expecter) AcquireSegmentLock(ctx interface{}, req interface{}) *DataCoord_AcquireSegmentLock_Call { - return &DataCoord_AcquireSegmentLock_Call{Call: _e.mock.On("AcquireSegmentLock", ctx, req)} -} - -func (_c *DataCoord_AcquireSegmentLock_Call) Run(run func(ctx context.Context, req *datapb.AcquireSegmentLockRequest)) *DataCoord_AcquireSegmentLock_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.AcquireSegmentLockRequest)) - }) - return _c -} - -func (_c *DataCoord_AcquireSegmentLock_Call) Return(_a0 *commonpb.Status, _a1 error) *DataCoord_AcquireSegmentLock_Call { - _c.Call.Return(_a0, _a1) - return _c -} - // AssignSegmentID provides a mock function with given fields: ctx, req func (_m *DataCoord) AssignSegmentID(ctx context.Context, req *datapb.AssignSegmentIDRequest) (*datapb.AssignSegmentIDResponse, error) { ret := _m.Called(ctx, req) @@ -1272,53 +1225,6 @@ func (_c *DataCoord_Register_Call) Return(_a0 error) *DataCoord_Register_Call { return _c } -// ReleaseSegmentLock provides a mock function with given fields: ctx, req -func (_m *DataCoord) ReleaseSegmentLock(ctx context.Context, req *datapb.ReleaseSegmentLockRequest) (*commonpb.Status, error) { - ret := _m.Called(ctx, req) - - var r0 *commonpb.Status - if rf, ok := ret.Get(0).(func(context.Context, *datapb.ReleaseSegmentLockRequest) *commonpb.Status); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*commonpb.Status) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.ReleaseSegmentLockRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// DataCoord_ReleaseSegmentLock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleaseSegmentLock' -type DataCoord_ReleaseSegmentLock_Call struct { - *mock.Call -} - -// ReleaseSegmentLock is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.ReleaseSegmentLockRequest -func (_e *DataCoord_Expecter) ReleaseSegmentLock(ctx interface{}, req interface{}) *DataCoord_ReleaseSegmentLock_Call { - return &DataCoord_ReleaseSegmentLock_Call{Call: _e.mock.On("ReleaseSegmentLock", ctx, req)} -} - -func (_c *DataCoord_ReleaseSegmentLock_Call) Run(run func(ctx context.Context, req *datapb.ReleaseSegmentLockRequest)) *DataCoord_ReleaseSegmentLock_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.ReleaseSegmentLockRequest)) - }) - return _c -} - -func (_c *DataCoord_ReleaseSegmentLock_Call) Return(_a0 *commonpb.Status, _a1 error) *DataCoord_ReleaseSegmentLock_Call { - _c.Call.Return(_a0, _a1) - return _c -} - // SaveBinlogPaths provides a mock function with given fields: ctx, req func (_m *DataCoord) SaveBinlogPaths(ctx context.Context, req *datapb.SaveBinlogPathsRequest) (*commonpb.Status, error) { ret := _m.Called(ctx, req) diff --git a/internal/mocks/mock_indexcoord.go b/internal/mocks/mock_indexcoord.go deleted file mode 100644 index fe7134eecc..0000000000 --- a/internal/mocks/mock_indexcoord.go +++ /dev/null @@ -1,751 +0,0 @@ -// Code generated by mockery v2.14.0. DO NOT EDIT. - -package mocks - -import ( - context "context" - - commonpb "github.com/milvus-io/milvus-proto/go-api/commonpb" - - datapb "github.com/milvus-io/milvus/internal/proto/datapb" - - internalpb "github.com/milvus-io/milvus/internal/proto/internalpb" - - milvuspb "github.com/milvus-io/milvus-proto/go-api/milvuspb" - - mock "github.com/stretchr/testify/mock" -) - -// MockIndexCoord is an autogenerated mock type for the IndexCoord type -type MockIndexCoord struct { - mock.Mock -} - -type MockIndexCoord_Expecter struct { - mock *mock.Mock -} - -func (_m *MockIndexCoord) EXPECT() *MockIndexCoord_Expecter { - return &MockIndexCoord_Expecter{mock: &_m.Mock} -} - -// CheckHealth provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *milvuspb.CheckHealthResponse - if rf, ok := ret.Get(0).(func(context.Context, *milvuspb.CheckHealthRequest) *milvuspb.CheckHealthResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*milvuspb.CheckHealthResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *milvuspb.CheckHealthRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_CheckHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckHealth' -type MockIndexCoord_CheckHealth_Call struct { - *mock.Call -} - -// CheckHealth is a helper method to define mock.On call -// - ctx context.Context -// - req *milvuspb.CheckHealthRequest -func (_e *MockIndexCoord_Expecter) CheckHealth(ctx interface{}, req interface{}) *MockIndexCoord_CheckHealth_Call { - return &MockIndexCoord_CheckHealth_Call{Call: _e.mock.On("CheckHealth", ctx, req)} -} - -func (_c *MockIndexCoord_CheckHealth_Call) Run(run func(ctx context.Context, req *milvuspb.CheckHealthRequest)) *MockIndexCoord_CheckHealth_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*milvuspb.CheckHealthRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_CheckHealth_Call) Return(_a0 *milvuspb.CheckHealthResponse, _a1 error) *MockIndexCoord_CheckHealth_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// CreateIndex provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) { - ret := _m.Called(ctx, req) - - var r0 *commonpb.Status - if rf, ok := ret.Get(0).(func(context.Context, *datapb.CreateIndexRequest) *commonpb.Status); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*commonpb.Status) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.CreateIndexRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_CreateIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIndex' -type MockIndexCoord_CreateIndex_Call struct { - *mock.Call -} - -// CreateIndex is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.CreateIndexRequest -func (_e *MockIndexCoord_Expecter) CreateIndex(ctx interface{}, req interface{}) *MockIndexCoord_CreateIndex_Call { - return &MockIndexCoord_CreateIndex_Call{Call: _e.mock.On("CreateIndex", ctx, req)} -} - -func (_c *MockIndexCoord_CreateIndex_Call) Run(run func(ctx context.Context, req *datapb.CreateIndexRequest)) *MockIndexCoord_CreateIndex_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.CreateIndexRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_CreateIndex_Call) Return(_a0 *commonpb.Status, _a1 error) *MockIndexCoord_CreateIndex_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// DescribeIndex provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *datapb.DescribeIndexResponse - if rf, ok := ret.Get(0).(func(context.Context, *datapb.DescribeIndexRequest) *datapb.DescribeIndexResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*datapb.DescribeIndexResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.DescribeIndexRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_DescribeIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeIndex' -type MockIndexCoord_DescribeIndex_Call struct { - *mock.Call -} - -// DescribeIndex is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.DescribeIndexRequest -func (_e *MockIndexCoord_Expecter) DescribeIndex(ctx interface{}, req interface{}) *MockIndexCoord_DescribeIndex_Call { - return &MockIndexCoord_DescribeIndex_Call{Call: _e.mock.On("DescribeIndex", ctx, req)} -} - -func (_c *MockIndexCoord_DescribeIndex_Call) Run(run func(ctx context.Context, req *datapb.DescribeIndexRequest)) *MockIndexCoord_DescribeIndex_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.DescribeIndexRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_DescribeIndex_Call) Return(_a0 *datapb.DescribeIndexResponse, _a1 error) *MockIndexCoord_DescribeIndex_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// DropIndex provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { - ret := _m.Called(ctx, req) - - var r0 *commonpb.Status - if rf, ok := ret.Get(0).(func(context.Context, *datapb.DropIndexRequest) *commonpb.Status); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*commonpb.Status) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.DropIndexRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_DropIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropIndex' -type MockIndexCoord_DropIndex_Call struct { - *mock.Call -} - -// DropIndex is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.DropIndexRequest -func (_e *MockIndexCoord_Expecter) DropIndex(ctx interface{}, req interface{}) *MockIndexCoord_DropIndex_Call { - return &MockIndexCoord_DropIndex_Call{Call: _e.mock.On("DropIndex", ctx, req)} -} - -func (_c *MockIndexCoord_DropIndex_Call) Run(run func(ctx context.Context, req *datapb.DropIndexRequest)) *MockIndexCoord_DropIndex_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.DropIndexRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_DropIndex_Call) Return(_a0 *commonpb.Status, _a1 error) *MockIndexCoord_DropIndex_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// GetComponentStates provides a mock function with given fields: ctx -func (_m *MockIndexCoord) GetComponentStates(ctx context.Context) (*milvuspb.ComponentStates, error) { - ret := _m.Called(ctx) - - var r0 *milvuspb.ComponentStates - if rf, ok := ret.Get(0).(func(context.Context) *milvuspb.ComponentStates); ok { - r0 = rf(ctx) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*milvuspb.ComponentStates) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context) error); ok { - r1 = rf(ctx) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_GetComponentStates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComponentStates' -type MockIndexCoord_GetComponentStates_Call struct { - *mock.Call -} - -// GetComponentStates is a helper method to define mock.On call -// - ctx context.Context -func (_e *MockIndexCoord_Expecter) GetComponentStates(ctx interface{}) *MockIndexCoord_GetComponentStates_Call { - return &MockIndexCoord_GetComponentStates_Call{Call: _e.mock.On("GetComponentStates", ctx)} -} - -func (_c *MockIndexCoord_GetComponentStates_Call) Run(run func(ctx context.Context)) *MockIndexCoord_GetComponentStates_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context)) - }) - return _c -} - -func (_c *MockIndexCoord_GetComponentStates_Call) Return(_a0 *milvuspb.ComponentStates, _a1 error) *MockIndexCoord_GetComponentStates_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// GetIndexBuildProgress provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *datapb.GetIndexBuildProgressResponse - if rf, ok := ret.Get(0).(func(context.Context, *datapb.GetIndexBuildProgressRequest) *datapb.GetIndexBuildProgressResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*datapb.GetIndexBuildProgressResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.GetIndexBuildProgressRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_GetIndexBuildProgress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndexBuildProgress' -type MockIndexCoord_GetIndexBuildProgress_Call struct { - *mock.Call -} - -// GetIndexBuildProgress is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.GetIndexBuildProgressRequest -func (_e *MockIndexCoord_Expecter) GetIndexBuildProgress(ctx interface{}, req interface{}) *MockIndexCoord_GetIndexBuildProgress_Call { - return &MockIndexCoord_GetIndexBuildProgress_Call{Call: _e.mock.On("GetIndexBuildProgress", ctx, req)} -} - -func (_c *MockIndexCoord_GetIndexBuildProgress_Call) Run(run func(ctx context.Context, req *datapb.GetIndexBuildProgressRequest)) *MockIndexCoord_GetIndexBuildProgress_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.GetIndexBuildProgressRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_GetIndexBuildProgress_Call) Return(_a0 *datapb.GetIndexBuildProgressResponse, _a1 error) *MockIndexCoord_GetIndexBuildProgress_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// GetIndexInfos provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *datapb.GetIndexInfoResponse - if rf, ok := ret.Get(0).(func(context.Context, *datapb.GetIndexInfoRequest) *datapb.GetIndexInfoResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*datapb.GetIndexInfoResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.GetIndexInfoRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_GetIndexInfos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndexInfos' -type MockIndexCoord_GetIndexInfos_Call struct { - *mock.Call -} - -// GetIndexInfos is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.GetIndexInfoRequest -func (_e *MockIndexCoord_Expecter) GetIndexInfos(ctx interface{}, req interface{}) *MockIndexCoord_GetIndexInfos_Call { - return &MockIndexCoord_GetIndexInfos_Call{Call: _e.mock.On("GetIndexInfos", ctx, req)} -} - -func (_c *MockIndexCoord_GetIndexInfos_Call) Run(run func(ctx context.Context, req *datapb.GetIndexInfoRequest)) *MockIndexCoord_GetIndexInfos_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.GetIndexInfoRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_GetIndexInfos_Call) Return(_a0 *datapb.GetIndexInfoResponse, _a1 error) *MockIndexCoord_GetIndexInfos_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// GetIndexState provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *datapb.GetIndexStateResponse - if rf, ok := ret.Get(0).(func(context.Context, *datapb.GetIndexStateRequest) *datapb.GetIndexStateResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*datapb.GetIndexStateResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.GetIndexStateRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_GetIndexState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndexState' -type MockIndexCoord_GetIndexState_Call struct { - *mock.Call -} - -// GetIndexState is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.GetIndexStateRequest -func (_e *MockIndexCoord_Expecter) GetIndexState(ctx interface{}, req interface{}) *MockIndexCoord_GetIndexState_Call { - return &MockIndexCoord_GetIndexState_Call{Call: _e.mock.On("GetIndexState", ctx, req)} -} - -func (_c *MockIndexCoord_GetIndexState_Call) Run(run func(ctx context.Context, req *datapb.GetIndexStateRequest)) *MockIndexCoord_GetIndexState_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.GetIndexStateRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_GetIndexState_Call) Return(_a0 *datapb.GetIndexStateResponse, _a1 error) *MockIndexCoord_GetIndexState_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// GetMetrics provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *milvuspb.GetMetricsResponse - if rf, ok := ret.Get(0).(func(context.Context, *milvuspb.GetMetricsRequest) *milvuspb.GetMetricsResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*milvuspb.GetMetricsResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *milvuspb.GetMetricsRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_GetMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMetrics' -type MockIndexCoord_GetMetrics_Call struct { - *mock.Call -} - -// GetMetrics is a helper method to define mock.On call -// - ctx context.Context -// - req *milvuspb.GetMetricsRequest -func (_e *MockIndexCoord_Expecter) GetMetrics(ctx interface{}, req interface{}) *MockIndexCoord_GetMetrics_Call { - return &MockIndexCoord_GetMetrics_Call{Call: _e.mock.On("GetMetrics", ctx, req)} -} - -func (_c *MockIndexCoord_GetMetrics_Call) Run(run func(ctx context.Context, req *milvuspb.GetMetricsRequest)) *MockIndexCoord_GetMetrics_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*milvuspb.GetMetricsRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_GetMetrics_Call) Return(_a0 *milvuspb.GetMetricsResponse, _a1 error) *MockIndexCoord_GetMetrics_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// GetSegmentIndexState provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *datapb.GetSegmentIndexStateResponse - if rf, ok := ret.Get(0).(func(context.Context, *datapb.GetSegmentIndexStateRequest) *datapb.GetSegmentIndexStateResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*datapb.GetSegmentIndexStateResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *datapb.GetSegmentIndexStateRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_GetSegmentIndexState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSegmentIndexState' -type MockIndexCoord_GetSegmentIndexState_Call struct { - *mock.Call -} - -// GetSegmentIndexState is a helper method to define mock.On call -// - ctx context.Context -// - req *datapb.GetSegmentIndexStateRequest -func (_e *MockIndexCoord_Expecter) GetSegmentIndexState(ctx interface{}, req interface{}) *MockIndexCoord_GetSegmentIndexState_Call { - return &MockIndexCoord_GetSegmentIndexState_Call{Call: _e.mock.On("GetSegmentIndexState", ctx, req)} -} - -func (_c *MockIndexCoord_GetSegmentIndexState_Call) Run(run func(ctx context.Context, req *datapb.GetSegmentIndexStateRequest)) *MockIndexCoord_GetSegmentIndexState_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*datapb.GetSegmentIndexStateRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_GetSegmentIndexState_Call) Return(_a0 *datapb.GetSegmentIndexStateResponse, _a1 error) *MockIndexCoord_GetSegmentIndexState_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// GetStatisticsChannel provides a mock function with given fields: ctx -func (_m *MockIndexCoord) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResponse, error) { - ret := _m.Called(ctx) - - var r0 *milvuspb.StringResponse - if rf, ok := ret.Get(0).(func(context.Context) *milvuspb.StringResponse); ok { - r0 = rf(ctx) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*milvuspb.StringResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context) error); ok { - r1 = rf(ctx) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_GetStatisticsChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatisticsChannel' -type MockIndexCoord_GetStatisticsChannel_Call struct { - *mock.Call -} - -// GetStatisticsChannel is a helper method to define mock.On call -// - ctx context.Context -func (_e *MockIndexCoord_Expecter) GetStatisticsChannel(ctx interface{}) *MockIndexCoord_GetStatisticsChannel_Call { - return &MockIndexCoord_GetStatisticsChannel_Call{Call: _e.mock.On("GetStatisticsChannel", ctx)} -} - -func (_c *MockIndexCoord_GetStatisticsChannel_Call) Run(run func(ctx context.Context)) *MockIndexCoord_GetStatisticsChannel_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context)) - }) - return _c -} - -func (_c *MockIndexCoord_GetStatisticsChannel_Call) Return(_a0 *milvuspb.StringResponse, _a1 error) *MockIndexCoord_GetStatisticsChannel_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// Init provides a mock function with given fields: -func (_m *MockIndexCoord) Init() error { - ret := _m.Called() - - var r0 error - if rf, ok := ret.Get(0).(func() error); ok { - r0 = rf() - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockIndexCoord_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init' -type MockIndexCoord_Init_Call struct { - *mock.Call -} - -// Init is a helper method to define mock.On call -func (_e *MockIndexCoord_Expecter) Init() *MockIndexCoord_Init_Call { - return &MockIndexCoord_Init_Call{Call: _e.mock.On("Init")} -} - -func (_c *MockIndexCoord_Init_Call) Run(run func()) *MockIndexCoord_Init_Call { - _c.Call.Run(func(args mock.Arguments) { - run() - }) - return _c -} - -func (_c *MockIndexCoord_Init_Call) Return(_a0 error) *MockIndexCoord_Init_Call { - _c.Call.Return(_a0) - return _c -} - -// Register provides a mock function with given fields: -func (_m *MockIndexCoord) Register() error { - ret := _m.Called() - - var r0 error - if rf, ok := ret.Get(0).(func() error); ok { - r0 = rf() - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockIndexCoord_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register' -type MockIndexCoord_Register_Call struct { - *mock.Call -} - -// Register is a helper method to define mock.On call -func (_e *MockIndexCoord_Expecter) Register() *MockIndexCoord_Register_Call { - return &MockIndexCoord_Register_Call{Call: _e.mock.On("Register")} -} - -func (_c *MockIndexCoord_Register_Call) Run(run func()) *MockIndexCoord_Register_Call { - _c.Call.Run(func(args mock.Arguments) { - run() - }) - return _c -} - -func (_c *MockIndexCoord_Register_Call) Return(_a0 error) *MockIndexCoord_Register_Call { - _c.Call.Return(_a0) - return _c -} - -// ShowConfigurations provides a mock function with given fields: ctx, req -func (_m *MockIndexCoord) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) { - ret := _m.Called(ctx, req) - - var r0 *internalpb.ShowConfigurationsResponse - if rf, ok := ret.Get(0).(func(context.Context, *internalpb.ShowConfigurationsRequest) *internalpb.ShowConfigurationsResponse); ok { - r0 = rf(ctx, req) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*internalpb.ShowConfigurationsResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *internalpb.ShowConfigurationsRequest) error); ok { - r1 = rf(ctx, req) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockIndexCoord_ShowConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowConfigurations' -type MockIndexCoord_ShowConfigurations_Call struct { - *mock.Call -} - -// ShowConfigurations is a helper method to define mock.On call -// - ctx context.Context -// - req *internalpb.ShowConfigurationsRequest -func (_e *MockIndexCoord_Expecter) ShowConfigurations(ctx interface{}, req interface{}) *MockIndexCoord_ShowConfigurations_Call { - return &MockIndexCoord_ShowConfigurations_Call{Call: _e.mock.On("ShowConfigurations", ctx, req)} -} - -func (_c *MockIndexCoord_ShowConfigurations_Call) Run(run func(ctx context.Context, req *internalpb.ShowConfigurationsRequest)) *MockIndexCoord_ShowConfigurations_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(*internalpb.ShowConfigurationsRequest)) - }) - return _c -} - -func (_c *MockIndexCoord_ShowConfigurations_Call) Return(_a0 *internalpb.ShowConfigurationsResponse, _a1 error) *MockIndexCoord_ShowConfigurations_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -// Start provides a mock function with given fields: -func (_m *MockIndexCoord) Start() error { - ret := _m.Called() - - var r0 error - if rf, ok := ret.Get(0).(func() error); ok { - r0 = rf() - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockIndexCoord_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start' -type MockIndexCoord_Start_Call struct { - *mock.Call -} - -// Start is a helper method to define mock.On call -func (_e *MockIndexCoord_Expecter) Start() *MockIndexCoord_Start_Call { - return &MockIndexCoord_Start_Call{Call: _e.mock.On("Start")} -} - -func (_c *MockIndexCoord_Start_Call) Run(run func()) *MockIndexCoord_Start_Call { - _c.Call.Run(func(args mock.Arguments) { - run() - }) - return _c -} - -func (_c *MockIndexCoord_Start_Call) Return(_a0 error) *MockIndexCoord_Start_Call { - _c.Call.Return(_a0) - return _c -} - -// Stop provides a mock function with given fields: -func (_m *MockIndexCoord) Stop() error { - ret := _m.Called() - - var r0 error - if rf, ok := ret.Get(0).(func() error); ok { - r0 = rf() - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockIndexCoord_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop' -type MockIndexCoord_Stop_Call struct { - *mock.Call -} - -// Stop is a helper method to define mock.On call -func (_e *MockIndexCoord_Expecter) Stop() *MockIndexCoord_Stop_Call { - return &MockIndexCoord_Stop_Call{Call: _e.mock.On("Stop")} -} - -func (_c *MockIndexCoord_Stop_Call) Run(run func()) *MockIndexCoord_Stop_Call { - _c.Call.Run(func(args mock.Arguments) { - run() - }) - return _c -} - -func (_c *MockIndexCoord_Stop_Call) Return(_a0 error) *MockIndexCoord_Stop_Call { - _c.Call.Return(_a0) - return _c -} - -type mockConstructorTestingTNewMockIndexCoord interface { - mock.TestingT - Cleanup(func()) -} - -// NewMockIndexCoord creates a new instance of MockIndexCoord. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockIndexCoord(t mockConstructorTestingTNewMockIndexCoord) *MockIndexCoord { - mock := &MockIndexCoord{} - mock.Mock.Test(t) - - t.Cleanup(func() { mock.AssertExpectations(t) }) - - return mock -} diff --git a/internal/proto/data_coord.proto b/internal/proto/data_coord.proto index 34f963faa0..513d9129d7 100644 --- a/internal/proto/data_coord.proto +++ b/internal/proto/data_coord.proto @@ -8,6 +8,7 @@ import "common.proto"; import "internal.proto"; import "milvus.proto"; import "schema.proto"; +import "index_coord.proto"; // TODO: import google/protobuf/empty.proto message Empty {} @@ -67,15 +68,15 @@ service DataCoord { rpc CheckHealth(milvus.CheckHealthRequest) returns (milvus.CheckHealthResponse) {} - rpc CreateIndex(CreateIndexRequest) returns (common.Status){} + rpc CreateIndex(index.CreateIndexRequest) returns (common.Status){} // Deprecated: use DescribeIndex instead - rpc GetIndexState(GetIndexStateRequest) returns (GetIndexStateResponse) {} - rpc GetSegmentIndexState(GetSegmentIndexStateRequest) returns (GetSegmentIndexStateResponse) {} - rpc GetIndexInfos(GetIndexInfoRequest) returns (GetIndexInfoResponse){} - rpc DropIndex(DropIndexRequest) returns (common.Status) {} - rpc DescribeIndex(DescribeIndexRequest) returns (DescribeIndexResponse) {} + rpc GetIndexState(index.GetIndexStateRequest) returns (index.GetIndexStateResponse) {} + rpc GetSegmentIndexState(index.GetSegmentIndexStateRequest) returns (index.GetSegmentIndexStateResponse) {} + rpc GetIndexInfos(index.GetIndexInfoRequest) returns (index.GetIndexInfoResponse){} + rpc DropIndex(index.DropIndexRequest) returns (common.Status) {} + rpc DescribeIndex(index.DescribeIndexRequest) returns (index.DescribeIndexResponse) {} // Deprecated: use DescribeIndex instead - rpc GetIndexBuildProgress(GetIndexBuildProgressRequest) returns (GetIndexBuildProgressResponse) {} + rpc GetIndexBuildProgress(index.GetIndexBuildProgressRequest) returns (index.GetIndexBuildProgressResponse) {} } service DataNode { @@ -214,20 +215,6 @@ message GetPartitionStatisticsResponse { message GetSegmentInfoChannelRequest { } -message AcquireSegmentLockRequest { - common.MsgBase base = 1; - int64 nodeID = 2; - repeated int64 segmentIDs = 3; - int64 taskID = 4; -} - -message ReleaseSegmentLockRequest { - common.MsgBase base = 1; - int64 nodeID = 2; - repeated int64 segmentIDs = 3; - int64 taskID = 4; -} - message VchannelInfo { int64 collectionID = 1; string channelName = 2; @@ -656,142 +643,142 @@ message AlterCollectionRequest { repeated common.KeyValuePair properties = 5; } -message IndexInfo { - int64 collectionID = 1; - int64 fieldID = 2; - string index_name = 3; - int64 indexID = 4; - repeated common.KeyValuePair type_params = 5; - repeated common.KeyValuePair index_params = 6; - // index build progress - // The real-time statistics may not be expected due to the existence of the compaction mechanism. - int64 indexed_rows = 7; - int64 total_rows = 8; - // index state - common.IndexState state = 9; - string index_state_fail_reason = 10; - bool is_auto_index = 11; - repeated common.KeyValuePair user_index_params = 12; -} - -message FieldIndex { - IndexInfo index_info = 1; - bool deleted = 2; - uint64 create_time = 3; -} - -message SegmentIndex { - int64 collectionID = 1; - int64 partitionID = 2; - int64 segmentID = 3; - int64 num_rows = 4; - int64 indexID = 5; - int64 buildID = 6; - int64 nodeID = 7; - int64 index_version = 8; - common.IndexState state = 9; - string fail_reason = 10; - repeated string index_file_keys = 11; - bool deleted = 12; - uint64 create_time = 13; - uint64 serialize_size = 14; - bool write_handoff = 15; -} - -message GetIndexStateRequest { - int64 collectionID = 1; - string index_name = 2; -} - -message GetIndexStateResponse { - common.Status status = 1; - common.IndexState state = 2; - string fail_reason = 3; -} - -message GetSegmentIndexStateRequest { - int64 collectionID = 1; - string index_name = 2; - repeated int64 segmentIDs = 3; -} - -message SegmentIndexState { - int64 segmentID = 1; - common.IndexState state = 2; - string fail_reason = 3; -} - -message GetSegmentIndexStateResponse { - common.Status status = 1; - repeated SegmentIndexState states = 2; -} - -message CreateIndexRequest { - int64 collectionID = 1; - int64 fieldID = 2; - string index_name = 3; - repeated common.KeyValuePair type_params = 4; - repeated common.KeyValuePair index_params = 5; - uint64 timestamp = 6; - bool is_auto_index = 7; - repeated common.KeyValuePair user_index_params = 8; -} - -message GetIndexInfoRequest { - int64 collectionID = 1; - repeated int64 segmentIDs = 2; - string index_name = 3; -} - -message IndexFilePathInfo { - int64 segmentID = 1; - int64 fieldID = 2; - int64 indexID = 3; - int64 buildID = 4; - string index_name = 5; - repeated common.KeyValuePair index_params = 6; - repeated string index_file_paths = 7; - uint64 serialized_size = 8; - int64 index_version = 9; - int64 num_rows = 10; -} - -message SegmentIndexInfo { - int64 collectionID = 1; - int64 segmentID = 2; - bool enable_index = 3; - repeated IndexFilePathInfo index_infos = 4; -} - -message GetIndexInfoResponse { - common.Status status = 1; - map segment_info = 2; -} - -message DropIndexRequest { - int64 collectionID = 1; - repeated int64 partitionIDs = 2; - string index_name = 3; - bool drop_all = 4; -} - -message DescribeIndexRequest { - int64 collectionID = 1; - string index_name = 2; -} - -message DescribeIndexResponse { - common.Status status = 1; - repeated IndexInfo index_infos = 2; -} - -message GetIndexBuildProgressRequest { - int64 collectionID = 1; - string index_name = 2; -} - -message GetIndexBuildProgressResponse { - common.Status status = 1; - int64 indexed_rows = 2; - int64 total_rows = 3; -} +//message IndexInfo { +// int64 collectionID = 1; +// int64 fieldID = 2; +// string index_name = 3; +// int64 indexID = 4; +// repeated common.KeyValuePair type_params = 5; +// repeated common.KeyValuePair index_params = 6; +// // index build progress +// // The real-time statistics may not be expected due to the existence of the compaction mechanism. +// int64 indexed_rows = 7; +// int64 total_rows = 8; +// // index state +// common.IndexState state = 9; +// string index_state_fail_reason = 10; +// bool is_auto_index = 11; +// repeated common.KeyValuePair user_index_params = 12; +//} +// +//message FieldIndex { +// IndexInfo index_info = 1; +// bool deleted = 2; +// uint64 create_time = 3; +//} +// +//message SegmentIndex { +// int64 collectionID = 1; +// int64 partitionID = 2; +// int64 segmentID = 3; +// int64 num_rows = 4; +// int64 indexID = 5; +// int64 buildID = 6; +// int64 nodeID = 7; +// int64 index_version = 8; +// common.IndexState state = 9; +// string fail_reason = 10; +// repeated string index_file_keys = 11; +// bool deleted = 12; +// uint64 create_time = 13; +// uint64 serialize_size = 14; +// bool write_handoff = 15; +//} +// +//message GetIndexStateRequest { +// int64 collectionID = 1; +// string index_name = 2; +//} +// +//message GetIndexStateResponse { +// common.Status status = 1; +// common.IndexState state = 2; +// string fail_reason = 3; +//} +// +//message GetSegmentIndexStateRequest { +// int64 collectionID = 1; +// string index_name = 2; +// repeated int64 segmentIDs = 3; +//} +// +//message SegmentIndexState { +// int64 segmentID = 1; +// common.IndexState state = 2; +// string fail_reason = 3; +//} +// +//message GetSegmentIndexStateResponse { +// common.Status status = 1; +// repeated SegmentIndexState states = 2; +//} +// +//message CreateIndexRequest { +// int64 collectionID = 1; +// int64 fieldID = 2; +// string index_name = 3; +// repeated common.KeyValuePair type_params = 4; +// repeated common.KeyValuePair index_params = 5; +// uint64 timestamp = 6; +// bool is_auto_index = 7; +// repeated common.KeyValuePair user_index_params = 8; +//} +// +//message GetIndexInfoRequest { +// int64 collectionID = 1; +// repeated int64 segmentIDs = 2; +// string index_name = 3; +//} +// +//message IndexFilePathInfo { +// int64 segmentID = 1; +// int64 fieldID = 2; +// int64 indexID = 3; +// int64 buildID = 4; +// string index_name = 5; +// repeated common.KeyValuePair index_params = 6; +// repeated string index_file_paths = 7; +// uint64 serialized_size = 8; +// int64 index_version = 9; +// int64 num_rows = 10; +//} +// +//message SegmentIndexInfo { +// int64 collectionID = 1; +// int64 segmentID = 2; +// bool enable_index = 3; +// repeated IndexFilePathInfo index_infos = 4; +//} +// +//message GetIndexInfoResponse { +// common.Status status = 1; +// map segment_info = 2; +//} +// +//message DropIndexRequest { +// int64 collectionID = 1; +// repeated int64 partitionIDs = 2; +// string index_name = 3; +// bool drop_all = 4; +//} +// +//message DescribeIndexRequest { +// int64 collectionID = 1; +// string index_name = 2; +//} +// +//message DescribeIndexResponse { +// common.Status status = 1; +// repeated IndexInfo index_infos = 2; +//} +// +//message GetIndexBuildProgressRequest { +// int64 collectionID = 1; +// string index_name = 2; +//} +// +//message GetIndexBuildProgressResponse { +// common.Status status = 1; +// int64 indexed_rows = 2; +// int64 total_rows = 3; +//} diff --git a/internal/proto/datapb/data_coord.pb.go b/internal/proto/datapb/data_coord.pb.go index be8ef734a0..a45e52d9b9 100644 --- a/internal/proto/datapb/data_coord.pb.go +++ b/internal/proto/datapb/data_coord.pb.go @@ -10,6 +10,7 @@ import ( commonpb "github.com/milvus-io/milvus-proto/go-api/commonpb" milvuspb "github.com/milvus-io/milvus-proto/go-api/milvuspb" schemapb "github.com/milvus-io/milvus-proto/go-api/schemapb" + indexpb "github.com/milvus-io/milvus/internal/proto/indexpb" internalpb "github.com/milvus-io/milvus/internal/proto/internalpb" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -1192,132 +1193,6 @@ func (m *GetSegmentInfoChannelRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetSegmentInfoChannelRequest proto.InternalMessageInfo -type AcquireSegmentLockRequest struct { - Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` - NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"` - SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` - TaskID int64 `protobuf:"varint,4,opt,name=taskID,proto3" json:"taskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AcquireSegmentLockRequest) Reset() { *m = AcquireSegmentLockRequest{} } -func (m *AcquireSegmentLockRequest) String() string { return proto.CompactTextString(m) } -func (*AcquireSegmentLockRequest) ProtoMessage() {} -func (*AcquireSegmentLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{19} -} - -func (m *AcquireSegmentLockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AcquireSegmentLockRequest.Unmarshal(m, b) -} -func (m *AcquireSegmentLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AcquireSegmentLockRequest.Marshal(b, m, deterministic) -} -func (m *AcquireSegmentLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcquireSegmentLockRequest.Merge(m, src) -} -func (m *AcquireSegmentLockRequest) XXX_Size() int { - return xxx_messageInfo_AcquireSegmentLockRequest.Size(m) -} -func (m *AcquireSegmentLockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AcquireSegmentLockRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AcquireSegmentLockRequest proto.InternalMessageInfo - -func (m *AcquireSegmentLockRequest) GetBase() *commonpb.MsgBase { - if m != nil { - return m.Base - } - return nil -} - -func (m *AcquireSegmentLockRequest) GetNodeID() int64 { - if m != nil { - return m.NodeID - } - return 0 -} - -func (m *AcquireSegmentLockRequest) GetSegmentIDs() []int64 { - if m != nil { - return m.SegmentIDs - } - return nil -} - -func (m *AcquireSegmentLockRequest) GetTaskID() int64 { - if m != nil { - return m.TaskID - } - return 0 -} - -type ReleaseSegmentLockRequest struct { - Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` - NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"` - SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` - TaskID int64 `protobuf:"varint,4,opt,name=taskID,proto3" json:"taskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReleaseSegmentLockRequest) Reset() { *m = ReleaseSegmentLockRequest{} } -func (m *ReleaseSegmentLockRequest) String() string { return proto.CompactTextString(m) } -func (*ReleaseSegmentLockRequest) ProtoMessage() {} -func (*ReleaseSegmentLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{20} -} - -func (m *ReleaseSegmentLockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReleaseSegmentLockRequest.Unmarshal(m, b) -} -func (m *ReleaseSegmentLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReleaseSegmentLockRequest.Marshal(b, m, deterministic) -} -func (m *ReleaseSegmentLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReleaseSegmentLockRequest.Merge(m, src) -} -func (m *ReleaseSegmentLockRequest) XXX_Size() int { - return xxx_messageInfo_ReleaseSegmentLockRequest.Size(m) -} -func (m *ReleaseSegmentLockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReleaseSegmentLockRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReleaseSegmentLockRequest proto.InternalMessageInfo - -func (m *ReleaseSegmentLockRequest) GetBase() *commonpb.MsgBase { - if m != nil { - return m.Base - } - return nil -} - -func (m *ReleaseSegmentLockRequest) GetNodeID() int64 { - if m != nil { - return m.NodeID - } - return 0 -} - -func (m *ReleaseSegmentLockRequest) GetSegmentIDs() []int64 { - if m != nil { - return m.SegmentIDs - } - return nil -} - -func (m *ReleaseSegmentLockRequest) GetTaskID() int64 { - if m != nil { - return m.TaskID - } - return 0 -} - type VchannelInfo struct { CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` @@ -1339,7 +1214,7 @@ func (m *VchannelInfo) Reset() { *m = VchannelInfo{} } func (m *VchannelInfo) String() string { return proto.CompactTextString(m) } func (*VchannelInfo) ProtoMessage() {} func (*VchannelInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{21} + return fileDescriptor_82cd95f524594f49, []int{19} } func (m *VchannelInfo) XXX_Unmarshal(b []byte) error { @@ -1449,7 +1324,7 @@ func (m *WatchDmChannelsRequest) Reset() { *m = WatchDmChannelsRequest{} func (m *WatchDmChannelsRequest) String() string { return proto.CompactTextString(m) } func (*WatchDmChannelsRequest) ProtoMessage() {} func (*WatchDmChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{22} + return fileDescriptor_82cd95f524594f49, []int{20} } func (m *WatchDmChannelsRequest) XXX_Unmarshal(b []byte) error { @@ -1498,7 +1373,7 @@ func (m *FlushSegmentsRequest) Reset() { *m = FlushSegmentsRequest{} } func (m *FlushSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*FlushSegmentsRequest) ProtoMessage() {} func (*FlushSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{23} + return fileDescriptor_82cd95f524594f49, []int{21} } func (m *FlushSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -1559,7 +1434,7 @@ func (m *SegmentMsg) Reset() { *m = SegmentMsg{} } func (m *SegmentMsg) String() string { return proto.CompactTextString(m) } func (*SegmentMsg) ProtoMessage() {} func (*SegmentMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{24} + return fileDescriptor_82cd95f524594f49, []int{22} } func (m *SegmentMsg) XXX_Unmarshal(b []byte) error { @@ -1627,7 +1502,7 @@ func (m *SegmentInfo) Reset() { *m = SegmentInfo{} } func (m *SegmentInfo) String() string { return proto.CompactTextString(m) } func (*SegmentInfo) ProtoMessage() {} func (*SegmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{25} + return fileDescriptor_82cd95f524594f49, []int{23} } func (m *SegmentInfo) XXX_Unmarshal(b []byte) error { @@ -1786,7 +1661,7 @@ func (m *SegmentStartPosition) Reset() { *m = SegmentStartPosition{} } func (m *SegmentStartPosition) String() string { return proto.CompactTextString(m) } func (*SegmentStartPosition) ProtoMessage() {} func (*SegmentStartPosition) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{26} + return fileDescriptor_82cd95f524594f49, []int{24} } func (m *SegmentStartPosition) XXX_Unmarshal(b []byte) error { @@ -1842,7 +1717,7 @@ func (m *SaveBinlogPathsRequest) Reset() { *m = SaveBinlogPathsRequest{} func (m *SaveBinlogPathsRequest) String() string { return proto.CompactTextString(m) } func (*SaveBinlogPathsRequest) ProtoMessage() {} func (*SaveBinlogPathsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{27} + return fileDescriptor_82cd95f524594f49, []int{25} } func (m *SaveBinlogPathsRequest) XXX_Unmarshal(b []byte) error { @@ -1953,7 +1828,7 @@ func (m *CheckPoint) Reset() { *m = CheckPoint{} } func (m *CheckPoint) String() string { return proto.CompactTextString(m) } func (*CheckPoint) ProtoMessage() {} func (*CheckPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{28} + return fileDescriptor_82cd95f524594f49, []int{26} } func (m *CheckPoint) XXX_Unmarshal(b []byte) error { @@ -2010,7 +1885,7 @@ func (m *DeltaLogInfo) Reset() { *m = DeltaLogInfo{} } func (m *DeltaLogInfo) String() string { return proto.CompactTextString(m) } func (*DeltaLogInfo) ProtoMessage() {} func (*DeltaLogInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{29} + return fileDescriptor_82cd95f524594f49, []int{27} } func (m *DeltaLogInfo) XXX_Unmarshal(b []byte) error { @@ -2080,7 +1955,7 @@ func (m *DataNodeTtMsg) Reset() { *m = DataNodeTtMsg{} } func (m *DataNodeTtMsg) String() string { return proto.CompactTextString(m) } func (*DataNodeTtMsg) ProtoMessage() {} func (*DataNodeTtMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{30} + return fileDescriptor_82cd95f524594f49, []int{28} } func (m *DataNodeTtMsg) XXX_Unmarshal(b []byte) error { @@ -2141,7 +2016,7 @@ func (m *SegmentStats) Reset() { *m = SegmentStats{} } func (m *SegmentStats) String() string { return proto.CompactTextString(m) } func (*SegmentStats) ProtoMessage() {} func (*SegmentStats) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{31} + return fileDescriptor_82cd95f524594f49, []int{29} } func (m *SegmentStats) XXX_Unmarshal(b []byte) error { @@ -2189,7 +2064,7 @@ func (m *ChannelStatus) Reset() { *m = ChannelStatus{} } func (m *ChannelStatus) String() string { return proto.CompactTextString(m) } func (*ChannelStatus) ProtoMessage() {} func (*ChannelStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{32} + return fileDescriptor_82cd95f524594f49, []int{30} } func (m *ChannelStatus) XXX_Unmarshal(b []byte) error { @@ -2244,7 +2119,7 @@ func (m *DataNodeInfo) Reset() { *m = DataNodeInfo{} } func (m *DataNodeInfo) String() string { return proto.CompactTextString(m) } func (*DataNodeInfo) ProtoMessage() {} func (*DataNodeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{33} + return fileDescriptor_82cd95f524594f49, []int{31} } func (m *DataNodeInfo) XXX_Unmarshal(b []byte) error { @@ -2302,7 +2177,7 @@ func (m *SegmentBinlogs) Reset() { *m = SegmentBinlogs{} } func (m *SegmentBinlogs) String() string { return proto.CompactTextString(m) } func (*SegmentBinlogs) ProtoMessage() {} func (*SegmentBinlogs) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{34} + return fileDescriptor_82cd95f524594f49, []int{32} } func (m *SegmentBinlogs) XXX_Unmarshal(b []byte) error { @@ -2377,7 +2252,7 @@ func (m *FieldBinlog) Reset() { *m = FieldBinlog{} } func (m *FieldBinlog) String() string { return proto.CompactTextString(m) } func (*FieldBinlog) ProtoMessage() {} func (*FieldBinlog) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{35} + return fileDescriptor_82cd95f524594f49, []int{33} } func (m *FieldBinlog) XXX_Unmarshal(b []byte) error { @@ -2429,7 +2304,7 @@ func (m *Binlog) Reset() { *m = Binlog{} } func (m *Binlog) String() string { return proto.CompactTextString(m) } func (*Binlog) ProtoMessage() {} func (*Binlog) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{36} + return fileDescriptor_82cd95f524594f49, []int{34} } func (m *Binlog) XXX_Unmarshal(b []byte) error { @@ -2505,7 +2380,7 @@ func (m *GetRecoveryInfoResponse) Reset() { *m = GetRecoveryInfoResponse func (m *GetRecoveryInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetRecoveryInfoResponse) ProtoMessage() {} func (*GetRecoveryInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{37} + return fileDescriptor_82cd95f524594f49, []int{35} } func (m *GetRecoveryInfoResponse) XXX_Unmarshal(b []byte) error { @@ -2560,7 +2435,7 @@ func (m *GetRecoveryInfoRequest) Reset() { *m = GetRecoveryInfoRequest{} func (m *GetRecoveryInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetRecoveryInfoRequest) ProtoMessage() {} func (*GetRecoveryInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{38} + return fileDescriptor_82cd95f524594f49, []int{36} } func (m *GetRecoveryInfoRequest) XXX_Unmarshal(b []byte) error { @@ -2616,7 +2491,7 @@ func (m *GetSegmentsByStatesRequest) Reset() { *m = GetSegmentsByStatesR func (m *GetSegmentsByStatesRequest) String() string { return proto.CompactTextString(m) } func (*GetSegmentsByStatesRequest) ProtoMessage() {} func (*GetSegmentsByStatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{39} + return fileDescriptor_82cd95f524594f49, []int{37} } func (m *GetSegmentsByStatesRequest) XXX_Unmarshal(b []byte) error { @@ -2677,7 +2552,7 @@ func (m *GetSegmentsByStatesResponse) Reset() { *m = GetSegmentsByStates func (m *GetSegmentsByStatesResponse) String() string { return proto.CompactTextString(m) } func (*GetSegmentsByStatesResponse) ProtoMessage() {} func (*GetSegmentsByStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{40} + return fileDescriptor_82cd95f524594f49, []int{38} } func (m *GetSegmentsByStatesResponse) XXX_Unmarshal(b []byte) error { @@ -2726,7 +2601,7 @@ func (m *GetFlushedSegmentsRequest) Reset() { *m = GetFlushedSegmentsReq func (m *GetFlushedSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*GetFlushedSegmentsRequest) ProtoMessage() {} func (*GetFlushedSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{41} + return fileDescriptor_82cd95f524594f49, []int{39} } func (m *GetFlushedSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -2787,7 +2662,7 @@ func (m *GetFlushedSegmentsResponse) Reset() { *m = GetFlushedSegmentsRe func (m *GetFlushedSegmentsResponse) String() string { return proto.CompactTextString(m) } func (*GetFlushedSegmentsResponse) ProtoMessage() {} func (*GetFlushedSegmentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{42} + return fileDescriptor_82cd95f524594f49, []int{40} } func (m *GetFlushedSegmentsResponse) XXX_Unmarshal(b []byte) error { @@ -2834,7 +2709,7 @@ func (m *SegmentFlushCompletedMsg) Reset() { *m = SegmentFlushCompletedM func (m *SegmentFlushCompletedMsg) String() string { return proto.CompactTextString(m) } func (*SegmentFlushCompletedMsg) ProtoMessage() {} func (*SegmentFlushCompletedMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{43} + return fileDescriptor_82cd95f524594f49, []int{41} } func (m *SegmentFlushCompletedMsg) XXX_Unmarshal(b []byte) error { @@ -2887,7 +2762,7 @@ func (m *ChannelWatchInfo) Reset() { *m = ChannelWatchInfo{} } func (m *ChannelWatchInfo) String() string { return proto.CompactTextString(m) } func (*ChannelWatchInfo) ProtoMessage() {} func (*ChannelWatchInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{44} + return fileDescriptor_82cd95f524594f49, []int{42} } func (m *ChannelWatchInfo) XXX_Unmarshal(b []byte) error { @@ -2954,7 +2829,7 @@ func (m *CompactionStateRequest) Reset() { *m = CompactionStateRequest{} func (m *CompactionStateRequest) String() string { return proto.CompactTextString(m) } func (*CompactionStateRequest) ProtoMessage() {} func (*CompactionStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{45} + return fileDescriptor_82cd95f524594f49, []int{43} } func (m *CompactionStateRequest) XXX_Unmarshal(b []byte) error { @@ -2997,7 +2872,7 @@ func (m *SyncSegmentsRequest) Reset() { *m = SyncSegmentsRequest{} } func (m *SyncSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*SyncSegmentsRequest) ProtoMessage() {} func (*SyncSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{46} + return fileDescriptor_82cd95f524594f49, []int{44} } func (m *SyncSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -3068,7 +2943,7 @@ func (m *CompactionSegmentBinlogs) Reset() { *m = CompactionSegmentBinlo func (m *CompactionSegmentBinlogs) String() string { return proto.CompactTextString(m) } func (*CompactionSegmentBinlogs) ProtoMessage() {} func (*CompactionSegmentBinlogs) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{47} + return fileDescriptor_82cd95f524594f49, []int{45} } func (m *CompactionSegmentBinlogs) XXX_Unmarshal(b []byte) error { @@ -3143,7 +3018,7 @@ func (m *CompactionPlan) Reset() { *m = CompactionPlan{} } func (m *CompactionPlan) String() string { return proto.CompactTextString(m) } func (*CompactionPlan) ProtoMessage() {} func (*CompactionPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{48} + return fileDescriptor_82cd95f524594f49, []int{46} } func (m *CompactionPlan) XXX_Unmarshal(b []byte) error { @@ -3244,7 +3119,7 @@ func (m *CompactionResult) Reset() { *m = CompactionResult{} } func (m *CompactionResult) String() string { return proto.CompactTextString(m) } func (*CompactionResult) ProtoMessage() {} func (*CompactionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{49} + return fileDescriptor_82cd95f524594f49, []int{47} } func (m *CompactionResult) XXX_Unmarshal(b []byte) error { @@ -3327,7 +3202,7 @@ func (m *CompactionStateResult) Reset() { *m = CompactionStateResult{} } func (m *CompactionStateResult) String() string { return proto.CompactTextString(m) } func (*CompactionStateResult) ProtoMessage() {} func (*CompactionStateResult) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{50} + return fileDescriptor_82cd95f524594f49, []int{48} } func (m *CompactionStateResult) XXX_Unmarshal(b []byte) error { @@ -3381,7 +3256,7 @@ func (m *CompactionStateResponse) Reset() { *m = CompactionStateResponse func (m *CompactionStateResponse) String() string { return proto.CompactTextString(m) } func (*CompactionStateResponse) ProtoMessage() {} func (*CompactionStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{51} + return fileDescriptor_82cd95f524594f49, []int{49} } func (m *CompactionStateResponse) XXX_Unmarshal(b []byte) error { @@ -3429,7 +3304,7 @@ func (m *SegmentFieldBinlogMeta) Reset() { *m = SegmentFieldBinlogMeta{} func (m *SegmentFieldBinlogMeta) String() string { return proto.CompactTextString(m) } func (*SegmentFieldBinlogMeta) ProtoMessage() {} func (*SegmentFieldBinlogMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{52} + return fileDescriptor_82cd95f524594f49, []int{50} } func (m *SegmentFieldBinlogMeta) XXX_Unmarshal(b []byte) error { @@ -3478,7 +3353,7 @@ func (m *WatchChannelsRequest) Reset() { *m = WatchChannelsRequest{} } func (m *WatchChannelsRequest) String() string { return proto.CompactTextString(m) } func (*WatchChannelsRequest) ProtoMessage() {} func (*WatchChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{53} + return fileDescriptor_82cd95f524594f49, []int{51} } func (m *WatchChannelsRequest) XXX_Unmarshal(b []byte) error { @@ -3538,7 +3413,7 @@ func (m *WatchChannelsResponse) Reset() { *m = WatchChannelsResponse{} } func (m *WatchChannelsResponse) String() string { return proto.CompactTextString(m) } func (*WatchChannelsResponse) ProtoMessage() {} func (*WatchChannelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{54} + return fileDescriptor_82cd95f524594f49, []int{52} } func (m *WatchChannelsResponse) XXX_Unmarshal(b []byte) error { @@ -3579,7 +3454,7 @@ func (m *SetSegmentStateRequest) Reset() { *m = SetSegmentStateRequest{} func (m *SetSegmentStateRequest) String() string { return proto.CompactTextString(m) } func (*SetSegmentStateRequest) ProtoMessage() {} func (*SetSegmentStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{55} + return fileDescriptor_82cd95f524594f49, []int{53} } func (m *SetSegmentStateRequest) XXX_Unmarshal(b []byte) error { @@ -3632,7 +3507,7 @@ func (m *SetSegmentStateResponse) Reset() { *m = SetSegmentStateResponse func (m *SetSegmentStateResponse) String() string { return proto.CompactTextString(m) } func (*SetSegmentStateResponse) ProtoMessage() {} func (*SetSegmentStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{56} + return fileDescriptor_82cd95f524594f49, []int{54} } func (m *SetSegmentStateResponse) XXX_Unmarshal(b []byte) error { @@ -3673,7 +3548,7 @@ func (m *DropVirtualChannelRequest) Reset() { *m = DropVirtualChannelReq func (m *DropVirtualChannelRequest) String() string { return proto.CompactTextString(m) } func (*DropVirtualChannelRequest) ProtoMessage() {} func (*DropVirtualChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{57} + return fileDescriptor_82cd95f524594f49, []int{55} } func (m *DropVirtualChannelRequest) XXX_Unmarshal(b []byte) error { @@ -3733,7 +3608,7 @@ func (m *DropVirtualChannelSegment) Reset() { *m = DropVirtualChannelSeg func (m *DropVirtualChannelSegment) String() string { return proto.CompactTextString(m) } func (*DropVirtualChannelSegment) ProtoMessage() {} func (*DropVirtualChannelSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{58} + return fileDescriptor_82cd95f524594f49, []int{56} } func (m *DropVirtualChannelSegment) XXX_Unmarshal(b []byte) error { @@ -3821,7 +3696,7 @@ func (m *DropVirtualChannelResponse) Reset() { *m = DropVirtualChannelRe func (m *DropVirtualChannelResponse) String() string { return proto.CompactTextString(m) } func (*DropVirtualChannelResponse) ProtoMessage() {} func (*DropVirtualChannelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{59} + return fileDescriptor_82cd95f524594f49, []int{57} } func (m *DropVirtualChannelResponse) XXX_Unmarshal(b []byte) error { @@ -3867,7 +3742,7 @@ func (m *ImportTask) Reset() { *m = ImportTask{} } func (m *ImportTask) String() string { return proto.CompactTextString(m) } func (*ImportTask) ProtoMessage() {} func (*ImportTask) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{60} + return fileDescriptor_82cd95f524594f49, []int{58} } func (m *ImportTask) XXX_Unmarshal(b []byte) error { @@ -3959,7 +3834,7 @@ func (m *ImportTaskState) Reset() { *m = ImportTaskState{} } func (m *ImportTaskState) String() string { return proto.CompactTextString(m) } func (*ImportTaskState) ProtoMessage() {} func (*ImportTaskState) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{61} + return fileDescriptor_82cd95f524594f49, []int{59} } func (m *ImportTaskState) XXX_Unmarshal(b []byte) error { @@ -4040,7 +3915,7 @@ func (m *ImportTaskInfo) Reset() { *m = ImportTaskInfo{} } func (m *ImportTaskInfo) String() string { return proto.CompactTextString(m) } func (*ImportTaskInfo) ProtoMessage() {} func (*ImportTaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{62} + return fileDescriptor_82cd95f524594f49, []int{60} } func (m *ImportTaskInfo) XXX_Unmarshal(b []byte) error { @@ -4179,7 +4054,7 @@ func (m *ImportTaskResponse) Reset() { *m = ImportTaskResponse{} } func (m *ImportTaskResponse) String() string { return proto.CompactTextString(m) } func (*ImportTaskResponse) ProtoMessage() {} func (*ImportTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{63} + return fileDescriptor_82cd95f524594f49, []int{61} } func (m *ImportTaskResponse) XXX_Unmarshal(b []byte) error { @@ -4227,7 +4102,7 @@ func (m *ImportTaskRequest) Reset() { *m = ImportTaskRequest{} } func (m *ImportTaskRequest) String() string { return proto.CompactTextString(m) } func (*ImportTaskRequest) ProtoMessage() {} func (*ImportTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{64} + return fileDescriptor_82cd95f524594f49, []int{62} } func (m *ImportTaskRequest) XXX_Unmarshal(b []byte) error { @@ -4281,7 +4156,7 @@ func (m *UpdateSegmentStatisticsRequest) Reset() { *m = UpdateSegmentSta func (m *UpdateSegmentStatisticsRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSegmentStatisticsRequest) ProtoMessage() {} func (*UpdateSegmentStatisticsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{65} + return fileDescriptor_82cd95f524594f49, []int{63} } func (m *UpdateSegmentStatisticsRequest) XXX_Unmarshal(b []byte) error { @@ -4329,7 +4204,7 @@ func (m *UpdateChannelCheckpointRequest) Reset() { *m = UpdateChannelChe func (m *UpdateChannelCheckpointRequest) String() string { return proto.CompactTextString(m) } func (*UpdateChannelCheckpointRequest) ProtoMessage() {} func (*UpdateChannelCheckpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{66} + return fileDescriptor_82cd95f524594f49, []int{64} } func (m *UpdateChannelCheckpointRequest) XXX_Unmarshal(b []byte) error { @@ -4382,7 +4257,7 @@ func (m *ResendSegmentStatsRequest) Reset() { *m = ResendSegmentStatsReq func (m *ResendSegmentStatsRequest) String() string { return proto.CompactTextString(m) } func (*ResendSegmentStatsRequest) ProtoMessage() {} func (*ResendSegmentStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{67} + return fileDescriptor_82cd95f524594f49, []int{65} } func (m *ResendSegmentStatsRequest) XXX_Unmarshal(b []byte) error { @@ -4422,7 +4297,7 @@ func (m *ResendSegmentStatsResponse) Reset() { *m = ResendSegmentStatsRe func (m *ResendSegmentStatsResponse) String() string { return proto.CompactTextString(m) } func (*ResendSegmentStatsResponse) ProtoMessage() {} func (*ResendSegmentStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{68} + return fileDescriptor_82cd95f524594f49, []int{66} } func (m *ResendSegmentStatsResponse) XXX_Unmarshal(b []byte) error { @@ -4474,7 +4349,7 @@ func (m *AddImportSegmentRequest) Reset() { *m = AddImportSegmentRequest func (m *AddImportSegmentRequest) String() string { return proto.CompactTextString(m) } func (*AddImportSegmentRequest) ProtoMessage() {} func (*AddImportSegmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{69} + return fileDescriptor_82cd95f524594f49, []int{67} } func (m *AddImportSegmentRequest) XXX_Unmarshal(b []byte) error { @@ -4556,7 +4431,7 @@ func (m *AddImportSegmentResponse) Reset() { *m = AddImportSegmentRespon func (m *AddImportSegmentResponse) String() string { return proto.CompactTextString(m) } func (*AddImportSegmentResponse) ProtoMessage() {} func (*AddImportSegmentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{70} + return fileDescriptor_82cd95f524594f49, []int{68} } func (m *AddImportSegmentResponse) XXX_Unmarshal(b []byte) error { @@ -4609,7 +4484,7 @@ func (m *SaveImportSegmentRequest) Reset() { *m = SaveImportSegmentReque func (m *SaveImportSegmentRequest) String() string { return proto.CompactTextString(m) } func (*SaveImportSegmentRequest) ProtoMessage() {} func (*SaveImportSegmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{71} + return fileDescriptor_82cd95f524594f49, []int{69} } func (m *SaveImportSegmentRequest) XXX_Unmarshal(b []byte) error { @@ -4698,7 +4573,7 @@ func (m *UnsetIsImportingStateRequest) Reset() { *m = UnsetIsImportingSt func (m *UnsetIsImportingStateRequest) String() string { return proto.CompactTextString(m) } func (*UnsetIsImportingStateRequest) ProtoMessage() {} func (*UnsetIsImportingStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{72} + return fileDescriptor_82cd95f524594f49, []int{70} } func (m *UnsetIsImportingStateRequest) XXX_Unmarshal(b []byte) error { @@ -4745,7 +4620,7 @@ func (m *MarkSegmentsDroppedRequest) Reset() { *m = MarkSegmentsDroppedR func (m *MarkSegmentsDroppedRequest) String() string { return proto.CompactTextString(m) } func (*MarkSegmentsDroppedRequest) ProtoMessage() {} func (*MarkSegmentsDroppedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{73} + return fileDescriptor_82cd95f524594f49, []int{71} } func (m *MarkSegmentsDroppedRequest) XXX_Unmarshal(b []byte) error { @@ -4793,7 +4668,7 @@ func (m *SegmentReferenceLock) Reset() { *m = SegmentReferenceLock{} } func (m *SegmentReferenceLock) String() string { return proto.CompactTextString(m) } func (*SegmentReferenceLock) ProtoMessage() {} func (*SegmentReferenceLock) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{74} + return fileDescriptor_82cd95f524594f49, []int{72} } func (m *SegmentReferenceLock) XXX_Unmarshal(b []byte) error { @@ -4850,7 +4725,7 @@ func (m *AlterCollectionRequest) Reset() { *m = AlterCollectionRequest{} func (m *AlterCollectionRequest) String() string { return proto.CompactTextString(m) } func (*AlterCollectionRequest) ProtoMessage() {} func (*AlterCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{75} + return fileDescriptor_82cd95f524594f49, []int{73} } func (m *AlterCollectionRequest) XXX_Unmarshal(b []byte) error { @@ -4906,1231 +4781,6 @@ func (m *AlterCollectionRequest) GetProperties() []*commonpb.KeyValuePair { return nil } -type IndexInfo struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"` - IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - IndexID int64 `protobuf:"varint,4,opt,name=indexID,proto3" json:"indexID,omitempty"` - TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` - IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` - // index build progress - // The real-time statistics may not be expected due to the existence of the compaction mechanism. - IndexedRows int64 `protobuf:"varint,7,opt,name=indexed_rows,json=indexedRows,proto3" json:"indexed_rows,omitempty"` - TotalRows int64 `protobuf:"varint,8,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` - // index state - State commonpb.IndexState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` - IndexStateFailReason string `protobuf:"bytes,10,opt,name=index_state_fail_reason,json=indexStateFailReason,proto3" json:"index_state_fail_reason,omitempty"` - IsAutoIndex bool `protobuf:"varint,11,opt,name=is_auto_index,json=isAutoIndex,proto3" json:"is_auto_index,omitempty"` - UserIndexParams []*commonpb.KeyValuePair `protobuf:"bytes,12,rep,name=user_index_params,json=userIndexParams,proto3" json:"user_index_params,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *IndexInfo) Reset() { *m = IndexInfo{} } -func (m *IndexInfo) String() string { return proto.CompactTextString(m) } -func (*IndexInfo) ProtoMessage() {} -func (*IndexInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{76} -} - -func (m *IndexInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IndexInfo.Unmarshal(m, b) -} -func (m *IndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IndexInfo.Marshal(b, m, deterministic) -} -func (m *IndexInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexInfo.Merge(m, src) -} -func (m *IndexInfo) XXX_Size() int { - return xxx_messageInfo_IndexInfo.Size(m) -} -func (m *IndexInfo) XXX_DiscardUnknown() { - xxx_messageInfo_IndexInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_IndexInfo proto.InternalMessageInfo - -func (m *IndexInfo) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *IndexInfo) GetFieldID() int64 { - if m != nil { - return m.FieldID - } - return 0 -} - -func (m *IndexInfo) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -func (m *IndexInfo) GetIndexID() int64 { - if m != nil { - return m.IndexID - } - return 0 -} - -func (m *IndexInfo) GetTypeParams() []*commonpb.KeyValuePair { - if m != nil { - return m.TypeParams - } - return nil -} - -func (m *IndexInfo) GetIndexParams() []*commonpb.KeyValuePair { - if m != nil { - return m.IndexParams - } - return nil -} - -func (m *IndexInfo) GetIndexedRows() int64 { - if m != nil { - return m.IndexedRows - } - return 0 -} - -func (m *IndexInfo) GetTotalRows() int64 { - if m != nil { - return m.TotalRows - } - return 0 -} - -func (m *IndexInfo) GetState() commonpb.IndexState { - if m != nil { - return m.State - } - return commonpb.IndexState_IndexStateNone -} - -func (m *IndexInfo) GetIndexStateFailReason() string { - if m != nil { - return m.IndexStateFailReason - } - return "" -} - -func (m *IndexInfo) GetIsAutoIndex() bool { - if m != nil { - return m.IsAutoIndex - } - return false -} - -func (m *IndexInfo) GetUserIndexParams() []*commonpb.KeyValuePair { - if m != nil { - return m.UserIndexParams - } - return nil -} - -type FieldIndex struct { - IndexInfo *IndexInfo `protobuf:"bytes,1,opt,name=index_info,json=indexInfo,proto3" json:"index_info,omitempty"` - Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"` - CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FieldIndex) Reset() { *m = FieldIndex{} } -func (m *FieldIndex) String() string { return proto.CompactTextString(m) } -func (*FieldIndex) ProtoMessage() {} -func (*FieldIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{77} -} - -func (m *FieldIndex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldIndex.Unmarshal(m, b) -} -func (m *FieldIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldIndex.Marshal(b, m, deterministic) -} -func (m *FieldIndex) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldIndex.Merge(m, src) -} -func (m *FieldIndex) XXX_Size() int { - return xxx_messageInfo_FieldIndex.Size(m) -} -func (m *FieldIndex) XXX_DiscardUnknown() { - xxx_messageInfo_FieldIndex.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldIndex proto.InternalMessageInfo - -func (m *FieldIndex) GetIndexInfo() *IndexInfo { - if m != nil { - return m.IndexInfo - } - return nil -} - -func (m *FieldIndex) GetDeleted() bool { - if m != nil { - return m.Deleted - } - return false -} - -func (m *FieldIndex) GetCreateTime() uint64 { - if m != nil { - return m.CreateTime - } - return 0 -} - -type SegmentIndex struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"` - SegmentID int64 `protobuf:"varint,3,opt,name=segmentID,proto3" json:"segmentID,omitempty"` - NumRows int64 `protobuf:"varint,4,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` - IndexID int64 `protobuf:"varint,5,opt,name=indexID,proto3" json:"indexID,omitempty"` - BuildID int64 `protobuf:"varint,6,opt,name=buildID,proto3" json:"buildID,omitempty"` - NodeID int64 `protobuf:"varint,7,opt,name=nodeID,proto3" json:"nodeID,omitempty"` - IndexVersion int64 `protobuf:"varint,8,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"` - State commonpb.IndexState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` - FailReason string `protobuf:"bytes,10,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` - IndexFileKeys []string `protobuf:"bytes,11,rep,name=index_file_keys,json=indexFileKeys,proto3" json:"index_file_keys,omitempty"` - Deleted bool `protobuf:"varint,12,opt,name=deleted,proto3" json:"deleted,omitempty"` - CreateTime uint64 `protobuf:"varint,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - SerializeSize uint64 `protobuf:"varint,14,opt,name=serialize_size,json=serializeSize,proto3" json:"serialize_size,omitempty"` - WriteHandoff bool `protobuf:"varint,15,opt,name=write_handoff,json=writeHandoff,proto3" json:"write_handoff,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SegmentIndex) Reset() { *m = SegmentIndex{} } -func (m *SegmentIndex) String() string { return proto.CompactTextString(m) } -func (*SegmentIndex) ProtoMessage() {} -func (*SegmentIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{78} -} - -func (m *SegmentIndex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SegmentIndex.Unmarshal(m, b) -} -func (m *SegmentIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SegmentIndex.Marshal(b, m, deterministic) -} -func (m *SegmentIndex) XXX_Merge(src proto.Message) { - xxx_messageInfo_SegmentIndex.Merge(m, src) -} -func (m *SegmentIndex) XXX_Size() int { - return xxx_messageInfo_SegmentIndex.Size(m) -} -func (m *SegmentIndex) XXX_DiscardUnknown() { - xxx_messageInfo_SegmentIndex.DiscardUnknown(m) -} - -var xxx_messageInfo_SegmentIndex proto.InternalMessageInfo - -func (m *SegmentIndex) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *SegmentIndex) GetPartitionID() int64 { - if m != nil { - return m.PartitionID - } - return 0 -} - -func (m *SegmentIndex) GetSegmentID() int64 { - if m != nil { - return m.SegmentID - } - return 0 -} - -func (m *SegmentIndex) GetNumRows() int64 { - if m != nil { - return m.NumRows - } - return 0 -} - -func (m *SegmentIndex) GetIndexID() int64 { - if m != nil { - return m.IndexID - } - return 0 -} - -func (m *SegmentIndex) GetBuildID() int64 { - if m != nil { - return m.BuildID - } - return 0 -} - -func (m *SegmentIndex) GetNodeID() int64 { - if m != nil { - return m.NodeID - } - return 0 -} - -func (m *SegmentIndex) GetIndexVersion() int64 { - if m != nil { - return m.IndexVersion - } - return 0 -} - -func (m *SegmentIndex) GetState() commonpb.IndexState { - if m != nil { - return m.State - } - return commonpb.IndexState_IndexStateNone -} - -func (m *SegmentIndex) GetFailReason() string { - if m != nil { - return m.FailReason - } - return "" -} - -func (m *SegmentIndex) GetIndexFileKeys() []string { - if m != nil { - return m.IndexFileKeys - } - return nil -} - -func (m *SegmentIndex) GetDeleted() bool { - if m != nil { - return m.Deleted - } - return false -} - -func (m *SegmentIndex) GetCreateTime() uint64 { - if m != nil { - return m.CreateTime - } - return 0 -} - -func (m *SegmentIndex) GetSerializeSize() uint64 { - if m != nil { - return m.SerializeSize - } - return 0 -} - -func (m *SegmentIndex) GetWriteHandoff() bool { - if m != nil { - return m.WriteHandoff - } - return false -} - -type GetIndexStateRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetIndexStateRequest) Reset() { *m = GetIndexStateRequest{} } -func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) } -func (*GetIndexStateRequest) ProtoMessage() {} -func (*GetIndexStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{79} -} - -func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIndexStateRequest.Unmarshal(m, b) -} -func (m *GetIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIndexStateRequest.Marshal(b, m, deterministic) -} -func (m *GetIndexStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexStateRequest.Merge(m, src) -} -func (m *GetIndexStateRequest) XXX_Size() int { - return xxx_messageInfo_GetIndexStateRequest.Size(m) -} -func (m *GetIndexStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIndexStateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIndexStateRequest proto.InternalMessageInfo - -func (m *GetIndexStateRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *GetIndexStateRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -type GetIndexStateResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` - FailReason string `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetIndexStateResponse) Reset() { *m = GetIndexStateResponse{} } -func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) } -func (*GetIndexStateResponse) ProtoMessage() {} -func (*GetIndexStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{80} -} - -func (m *GetIndexStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIndexStateResponse.Unmarshal(m, b) -} -func (m *GetIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIndexStateResponse.Marshal(b, m, deterministic) -} -func (m *GetIndexStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexStateResponse.Merge(m, src) -} -func (m *GetIndexStateResponse) XXX_Size() int { - return xxx_messageInfo_GetIndexStateResponse.Size(m) -} -func (m *GetIndexStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetIndexStateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIndexStateResponse proto.InternalMessageInfo - -func (m *GetIndexStateResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *GetIndexStateResponse) GetState() commonpb.IndexState { - if m != nil { - return m.State - } - return commonpb.IndexState_IndexStateNone -} - -func (m *GetIndexStateResponse) GetFailReason() string { - if m != nil { - return m.FailReason - } - return "" -} - -type GetSegmentIndexStateRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSegmentIndexStateRequest) Reset() { *m = GetSegmentIndexStateRequest{} } -func (m *GetSegmentIndexStateRequest) String() string { return proto.CompactTextString(m) } -func (*GetSegmentIndexStateRequest) ProtoMessage() {} -func (*GetSegmentIndexStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{81} -} - -func (m *GetSegmentIndexStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSegmentIndexStateRequest.Unmarshal(m, b) -} -func (m *GetSegmentIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSegmentIndexStateRequest.Marshal(b, m, deterministic) -} -func (m *GetSegmentIndexStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSegmentIndexStateRequest.Merge(m, src) -} -func (m *GetSegmentIndexStateRequest) XXX_Size() int { - return xxx_messageInfo_GetSegmentIndexStateRequest.Size(m) -} -func (m *GetSegmentIndexStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSegmentIndexStateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSegmentIndexStateRequest proto.InternalMessageInfo - -func (m *GetSegmentIndexStateRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *GetSegmentIndexStateRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -func (m *GetSegmentIndexStateRequest) GetSegmentIDs() []int64 { - if m != nil { - return m.SegmentIDs - } - return nil -} - -type SegmentIndexState struct { - SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` - State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` - FailReason string `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SegmentIndexState) Reset() { *m = SegmentIndexState{} } -func (m *SegmentIndexState) String() string { return proto.CompactTextString(m) } -func (*SegmentIndexState) ProtoMessage() {} -func (*SegmentIndexState) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{82} -} - -func (m *SegmentIndexState) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SegmentIndexState.Unmarshal(m, b) -} -func (m *SegmentIndexState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SegmentIndexState.Marshal(b, m, deterministic) -} -func (m *SegmentIndexState) XXX_Merge(src proto.Message) { - xxx_messageInfo_SegmentIndexState.Merge(m, src) -} -func (m *SegmentIndexState) XXX_Size() int { - return xxx_messageInfo_SegmentIndexState.Size(m) -} -func (m *SegmentIndexState) XXX_DiscardUnknown() { - xxx_messageInfo_SegmentIndexState.DiscardUnknown(m) -} - -var xxx_messageInfo_SegmentIndexState proto.InternalMessageInfo - -func (m *SegmentIndexState) GetSegmentID() int64 { - if m != nil { - return m.SegmentID - } - return 0 -} - -func (m *SegmentIndexState) GetState() commonpb.IndexState { - if m != nil { - return m.State - } - return commonpb.IndexState_IndexStateNone -} - -func (m *SegmentIndexState) GetFailReason() string { - if m != nil { - return m.FailReason - } - return "" -} - -type GetSegmentIndexStateResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - States []*SegmentIndexState `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSegmentIndexStateResponse) Reset() { *m = GetSegmentIndexStateResponse{} } -func (m *GetSegmentIndexStateResponse) String() string { return proto.CompactTextString(m) } -func (*GetSegmentIndexStateResponse) ProtoMessage() {} -func (*GetSegmentIndexStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{83} -} - -func (m *GetSegmentIndexStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSegmentIndexStateResponse.Unmarshal(m, b) -} -func (m *GetSegmentIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSegmentIndexStateResponse.Marshal(b, m, deterministic) -} -func (m *GetSegmentIndexStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSegmentIndexStateResponse.Merge(m, src) -} -func (m *GetSegmentIndexStateResponse) XXX_Size() int { - return xxx_messageInfo_GetSegmentIndexStateResponse.Size(m) -} -func (m *GetSegmentIndexStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetSegmentIndexStateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSegmentIndexStateResponse proto.InternalMessageInfo - -func (m *GetSegmentIndexStateResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *GetSegmentIndexStateResponse) GetStates() []*SegmentIndexState { - if m != nil { - return m.States - } - return nil -} - -type CreateIndexRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"` - IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` - IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` - Timestamp uint64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - IsAutoIndex bool `protobuf:"varint,7,opt,name=is_auto_index,json=isAutoIndex,proto3" json:"is_auto_index,omitempty"` - UserIndexParams []*commonpb.KeyValuePair `protobuf:"bytes,8,rep,name=user_index_params,json=userIndexParams,proto3" json:"user_index_params,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } -func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } -func (*CreateIndexRequest) ProtoMessage() {} -func (*CreateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{84} -} - -func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b) -} -func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic) -} -func (m *CreateIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIndexRequest.Merge(m, src) -} -func (m *CreateIndexRequest) XXX_Size() int { - return xxx_messageInfo_CreateIndexRequest.Size(m) -} -func (m *CreateIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo - -func (m *CreateIndexRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *CreateIndexRequest) GetFieldID() int64 { - if m != nil { - return m.FieldID - } - return 0 -} - -func (m *CreateIndexRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -func (m *CreateIndexRequest) GetTypeParams() []*commonpb.KeyValuePair { - if m != nil { - return m.TypeParams - } - return nil -} - -func (m *CreateIndexRequest) GetIndexParams() []*commonpb.KeyValuePair { - if m != nil { - return m.IndexParams - } - return nil -} - -func (m *CreateIndexRequest) GetTimestamp() uint64 { - if m != nil { - return m.Timestamp - } - return 0 -} - -func (m *CreateIndexRequest) GetIsAutoIndex() bool { - if m != nil { - return m.IsAutoIndex - } - return false -} - -func (m *CreateIndexRequest) GetUserIndexParams() []*commonpb.KeyValuePair { - if m != nil { - return m.UserIndexParams - } - return nil -} - -type GetIndexInfoRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` - IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetIndexInfoRequest) Reset() { *m = GetIndexInfoRequest{} } -func (m *GetIndexInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetIndexInfoRequest) ProtoMessage() {} -func (*GetIndexInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{85} -} - -func (m *GetIndexInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIndexInfoRequest.Unmarshal(m, b) -} -func (m *GetIndexInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIndexInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetIndexInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexInfoRequest.Merge(m, src) -} -func (m *GetIndexInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetIndexInfoRequest.Size(m) -} -func (m *GetIndexInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIndexInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIndexInfoRequest proto.InternalMessageInfo - -func (m *GetIndexInfoRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *GetIndexInfoRequest) GetSegmentIDs() []int64 { - if m != nil { - return m.SegmentIDs - } - return nil -} - -func (m *GetIndexInfoRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -type IndexFilePathInfo struct { - SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` - FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"` - IndexID int64 `protobuf:"varint,3,opt,name=indexID,proto3" json:"indexID,omitempty"` - BuildID int64 `protobuf:"varint,4,opt,name=buildID,proto3" json:"buildID,omitempty"` - IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` - IndexFilePaths []string `protobuf:"bytes,7,rep,name=index_file_paths,json=indexFilePaths,proto3" json:"index_file_paths,omitempty"` - SerializedSize uint64 `protobuf:"varint,8,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"` - IndexVersion int64 `protobuf:"varint,9,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"` - NumRows int64 `protobuf:"varint,10,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *IndexFilePathInfo) Reset() { *m = IndexFilePathInfo{} } -func (m *IndexFilePathInfo) String() string { return proto.CompactTextString(m) } -func (*IndexFilePathInfo) ProtoMessage() {} -func (*IndexFilePathInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{86} -} - -func (m *IndexFilePathInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IndexFilePathInfo.Unmarshal(m, b) -} -func (m *IndexFilePathInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IndexFilePathInfo.Marshal(b, m, deterministic) -} -func (m *IndexFilePathInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexFilePathInfo.Merge(m, src) -} -func (m *IndexFilePathInfo) XXX_Size() int { - return xxx_messageInfo_IndexFilePathInfo.Size(m) -} -func (m *IndexFilePathInfo) XXX_DiscardUnknown() { - xxx_messageInfo_IndexFilePathInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_IndexFilePathInfo proto.InternalMessageInfo - -func (m *IndexFilePathInfo) GetSegmentID() int64 { - if m != nil { - return m.SegmentID - } - return 0 -} - -func (m *IndexFilePathInfo) GetFieldID() int64 { - if m != nil { - return m.FieldID - } - return 0 -} - -func (m *IndexFilePathInfo) GetIndexID() int64 { - if m != nil { - return m.IndexID - } - return 0 -} - -func (m *IndexFilePathInfo) GetBuildID() int64 { - if m != nil { - return m.BuildID - } - return 0 -} - -func (m *IndexFilePathInfo) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -func (m *IndexFilePathInfo) GetIndexParams() []*commonpb.KeyValuePair { - if m != nil { - return m.IndexParams - } - return nil -} - -func (m *IndexFilePathInfo) GetIndexFilePaths() []string { - if m != nil { - return m.IndexFilePaths - } - return nil -} - -func (m *IndexFilePathInfo) GetSerializedSize() uint64 { - if m != nil { - return m.SerializedSize - } - return 0 -} - -func (m *IndexFilePathInfo) GetIndexVersion() int64 { - if m != nil { - return m.IndexVersion - } - return 0 -} - -func (m *IndexFilePathInfo) GetNumRows() int64 { - if m != nil { - return m.NumRows - } - return 0 -} - -type SegmentIndexInfo struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"` - EnableIndex bool `protobuf:"varint,3,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"` - IndexInfos []*IndexFilePathInfo `protobuf:"bytes,4,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SegmentIndexInfo) Reset() { *m = SegmentIndexInfo{} } -func (m *SegmentIndexInfo) String() string { return proto.CompactTextString(m) } -func (*SegmentIndexInfo) ProtoMessage() {} -func (*SegmentIndexInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{87} -} - -func (m *SegmentIndexInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SegmentIndexInfo.Unmarshal(m, b) -} -func (m *SegmentIndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SegmentIndexInfo.Marshal(b, m, deterministic) -} -func (m *SegmentIndexInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SegmentIndexInfo.Merge(m, src) -} -func (m *SegmentIndexInfo) XXX_Size() int { - return xxx_messageInfo_SegmentIndexInfo.Size(m) -} -func (m *SegmentIndexInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SegmentIndexInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SegmentIndexInfo proto.InternalMessageInfo - -func (m *SegmentIndexInfo) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *SegmentIndexInfo) GetSegmentID() int64 { - if m != nil { - return m.SegmentID - } - return 0 -} - -func (m *SegmentIndexInfo) GetEnableIndex() bool { - if m != nil { - return m.EnableIndex - } - return false -} - -func (m *SegmentIndexInfo) GetIndexInfos() []*IndexFilePathInfo { - if m != nil { - return m.IndexInfos - } - return nil -} - -type GetIndexInfoResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - SegmentInfo map[int64]*SegmentIndexInfo `protobuf:"bytes,2,rep,name=segment_info,json=segmentInfo,proto3" json:"segment_info,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetIndexInfoResponse) Reset() { *m = GetIndexInfoResponse{} } -func (m *GetIndexInfoResponse) String() string { return proto.CompactTextString(m) } -func (*GetIndexInfoResponse) ProtoMessage() {} -func (*GetIndexInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{88} -} - -func (m *GetIndexInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIndexInfoResponse.Unmarshal(m, b) -} -func (m *GetIndexInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIndexInfoResponse.Marshal(b, m, deterministic) -} -func (m *GetIndexInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexInfoResponse.Merge(m, src) -} -func (m *GetIndexInfoResponse) XXX_Size() int { - return xxx_messageInfo_GetIndexInfoResponse.Size(m) -} -func (m *GetIndexInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetIndexInfoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIndexInfoResponse proto.InternalMessageInfo - -func (m *GetIndexInfoResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *GetIndexInfoResponse) GetSegmentInfo() map[int64]*SegmentIndexInfo { - if m != nil { - return m.SegmentInfo - } - return nil -} - -type DropIndexRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - PartitionIDs []int64 `protobuf:"varint,2,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"` - IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - DropAll bool `protobuf:"varint,4,opt,name=drop_all,json=dropAll,proto3" json:"drop_all,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DropIndexRequest) Reset() { *m = DropIndexRequest{} } -func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) } -func (*DropIndexRequest) ProtoMessage() {} -func (*DropIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{89} -} - -func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropIndexRequest.Unmarshal(m, b) -} -func (m *DropIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropIndexRequest.Marshal(b, m, deterministic) -} -func (m *DropIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropIndexRequest.Merge(m, src) -} -func (m *DropIndexRequest) XXX_Size() int { - return xxx_messageInfo_DropIndexRequest.Size(m) -} -func (m *DropIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DropIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo - -func (m *DropIndexRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *DropIndexRequest) GetPartitionIDs() []int64 { - if m != nil { - return m.PartitionIDs - } - return nil -} - -func (m *DropIndexRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -func (m *DropIndexRequest) GetDropAll() bool { - if m != nil { - return m.DropAll - } - return false -} - -type DescribeIndexRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} } -func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) } -func (*DescribeIndexRequest) ProtoMessage() {} -func (*DescribeIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{90} -} - -func (m *DescribeIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescribeIndexRequest.Unmarshal(m, b) -} -func (m *DescribeIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescribeIndexRequest.Marshal(b, m, deterministic) -} -func (m *DescribeIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescribeIndexRequest.Merge(m, src) -} -func (m *DescribeIndexRequest) XXX_Size() int { - return xxx_messageInfo_DescribeIndexRequest.Size(m) -} -func (m *DescribeIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DescribeIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo - -func (m *DescribeIndexRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *DescribeIndexRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -type DescribeIndexResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - IndexInfos []*IndexInfo `protobuf:"bytes,2,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DescribeIndexResponse) Reset() { *m = DescribeIndexResponse{} } -func (m *DescribeIndexResponse) String() string { return proto.CompactTextString(m) } -func (*DescribeIndexResponse) ProtoMessage() {} -func (*DescribeIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{91} -} - -func (m *DescribeIndexResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescribeIndexResponse.Unmarshal(m, b) -} -func (m *DescribeIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescribeIndexResponse.Marshal(b, m, deterministic) -} -func (m *DescribeIndexResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescribeIndexResponse.Merge(m, src) -} -func (m *DescribeIndexResponse) XXX_Size() int { - return xxx_messageInfo_DescribeIndexResponse.Size(m) -} -func (m *DescribeIndexResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DescribeIndexResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DescribeIndexResponse proto.InternalMessageInfo - -func (m *DescribeIndexResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *DescribeIndexResponse) GetIndexInfos() []*IndexInfo { - if m != nil { - return m.IndexInfos - } - return nil -} - -type GetIndexBuildProgressRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetIndexBuildProgressRequest) Reset() { *m = GetIndexBuildProgressRequest{} } -func (m *GetIndexBuildProgressRequest) String() string { return proto.CompactTextString(m) } -func (*GetIndexBuildProgressRequest) ProtoMessage() {} -func (*GetIndexBuildProgressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{92} -} - -func (m *GetIndexBuildProgressRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIndexBuildProgressRequest.Unmarshal(m, b) -} -func (m *GetIndexBuildProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIndexBuildProgressRequest.Marshal(b, m, deterministic) -} -func (m *GetIndexBuildProgressRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexBuildProgressRequest.Merge(m, src) -} -func (m *GetIndexBuildProgressRequest) XXX_Size() int { - return xxx_messageInfo_GetIndexBuildProgressRequest.Size(m) -} -func (m *GetIndexBuildProgressRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIndexBuildProgressRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIndexBuildProgressRequest proto.InternalMessageInfo - -func (m *GetIndexBuildProgressRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *GetIndexBuildProgressRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -type GetIndexBuildProgressResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - IndexedRows int64 `protobuf:"varint,2,opt,name=indexed_rows,json=indexedRows,proto3" json:"indexed_rows,omitempty"` - TotalRows int64 `protobuf:"varint,3,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetIndexBuildProgressResponse) Reset() { *m = GetIndexBuildProgressResponse{} } -func (m *GetIndexBuildProgressResponse) String() string { return proto.CompactTextString(m) } -func (*GetIndexBuildProgressResponse) ProtoMessage() {} -func (*GetIndexBuildProgressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{93} -} - -func (m *GetIndexBuildProgressResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIndexBuildProgressResponse.Unmarshal(m, b) -} -func (m *GetIndexBuildProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIndexBuildProgressResponse.Marshal(b, m, deterministic) -} -func (m *GetIndexBuildProgressResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexBuildProgressResponse.Merge(m, src) -} -func (m *GetIndexBuildProgressResponse) XXX_Size() int { - return xxx_messageInfo_GetIndexBuildProgressResponse.Size(m) -} -func (m *GetIndexBuildProgressResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetIndexBuildProgressResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIndexBuildProgressResponse proto.InternalMessageInfo - -func (m *GetIndexBuildProgressResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *GetIndexBuildProgressResponse) GetIndexedRows() int64 { - if m != nil { - return m.IndexedRows - } - return 0 -} - -func (m *GetIndexBuildProgressResponse) GetTotalRows() int64 { - if m != nil { - return m.TotalRows - } - return 0 -} - func init() { proto.RegisterEnum("milvus.proto.data.SegmentType", SegmentType_name, SegmentType_value) proto.RegisterEnum("milvus.proto.data.ChannelWatchState", ChannelWatchState_name, ChannelWatchState_value) @@ -6155,8 +4805,6 @@ func init() { proto.RegisterType((*GetPartitionStatisticsRequest)(nil), "milvus.proto.data.GetPartitionStatisticsRequest") proto.RegisterType((*GetPartitionStatisticsResponse)(nil), "milvus.proto.data.GetPartitionStatisticsResponse") proto.RegisterType((*GetSegmentInfoChannelRequest)(nil), "milvus.proto.data.GetSegmentInfoChannelRequest") - proto.RegisterType((*AcquireSegmentLockRequest)(nil), "milvus.proto.data.AcquireSegmentLockRequest") - proto.RegisterType((*ReleaseSegmentLockRequest)(nil), "milvus.proto.data.ReleaseSegmentLockRequest") proto.RegisterType((*VchannelInfo)(nil), "milvus.proto.data.VchannelInfo") proto.RegisterType((*WatchDmChannelsRequest)(nil), "milvus.proto.data.WatchDmChannelsRequest") proto.RegisterType((*FlushSegmentsRequest)(nil), "milvus.proto.data.FlushSegmentsRequest") @@ -6212,371 +4860,300 @@ func init() { proto.RegisterType((*MarkSegmentsDroppedRequest)(nil), "milvus.proto.data.MarkSegmentsDroppedRequest") proto.RegisterType((*SegmentReferenceLock)(nil), "milvus.proto.data.SegmentReferenceLock") proto.RegisterType((*AlterCollectionRequest)(nil), "milvus.proto.data.AlterCollectionRequest") - proto.RegisterType((*IndexInfo)(nil), "milvus.proto.data.IndexInfo") - proto.RegisterType((*FieldIndex)(nil), "milvus.proto.data.FieldIndex") - proto.RegisterType((*SegmentIndex)(nil), "milvus.proto.data.SegmentIndex") - proto.RegisterType((*GetIndexStateRequest)(nil), "milvus.proto.data.GetIndexStateRequest") - proto.RegisterType((*GetIndexStateResponse)(nil), "milvus.proto.data.GetIndexStateResponse") - proto.RegisterType((*GetSegmentIndexStateRequest)(nil), "milvus.proto.data.GetSegmentIndexStateRequest") - proto.RegisterType((*SegmentIndexState)(nil), "milvus.proto.data.SegmentIndexState") - proto.RegisterType((*GetSegmentIndexStateResponse)(nil), "milvus.proto.data.GetSegmentIndexStateResponse") - proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.data.CreateIndexRequest") - proto.RegisterType((*GetIndexInfoRequest)(nil), "milvus.proto.data.GetIndexInfoRequest") - proto.RegisterType((*IndexFilePathInfo)(nil), "milvus.proto.data.IndexFilePathInfo") - proto.RegisterType((*SegmentIndexInfo)(nil), "milvus.proto.data.SegmentIndexInfo") - proto.RegisterType((*GetIndexInfoResponse)(nil), "milvus.proto.data.GetIndexInfoResponse") - proto.RegisterMapType((map[int64]*SegmentIndexInfo)(nil), "milvus.proto.data.GetIndexInfoResponse.SegmentInfoEntry") - proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.data.DropIndexRequest") - proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.data.DescribeIndexRequest") - proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.data.DescribeIndexResponse") - proto.RegisterType((*GetIndexBuildProgressRequest)(nil), "milvus.proto.data.GetIndexBuildProgressRequest") - proto.RegisterType((*GetIndexBuildProgressResponse)(nil), "milvus.proto.data.GetIndexBuildProgressResponse") } func init() { proto.RegisterFile("data_coord.proto", fileDescriptor_82cd95f524594f49) } var fileDescriptor_82cd95f524594f49 = []byte{ - // 5429 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x7c, 0x49, 0x8c, 0x1b, 0x57, - 0x7a, 0xb0, 0x8a, 0x5b, 0x93, 0x1f, 0xd9, 0x6c, 0xf6, 0x93, 0xdc, 0xa2, 0x68, 0x6b, 0x2b, 0xad, - 0xd6, 0xd8, 0x92, 0x2d, 0xff, 0xc6, 0x68, 0x46, 0xb6, 0xe7, 0x57, 0xab, 0x25, 0x99, 0x19, 0xb5, - 0xdc, 0x53, 0xdd, 0xb2, 0x91, 0x71, 0x80, 0x42, 0x35, 0xeb, 0x75, 0x77, 0x4d, 0x17, 0xab, 0xa8, - 0xaa, 0x62, 0xb7, 0xda, 0x09, 0x30, 0xce, 0x0a, 0x38, 0x99, 0x24, 0x93, 0x20, 0xeb, 0x21, 0x40, - 0x10, 0xe4, 0x30, 0x99, 0x60, 0x92, 0x00, 0x83, 0x5c, 0x72, 0x48, 0xae, 0x46, 0x72, 0x18, 0x04, - 0x01, 0x72, 0xcc, 0x31, 0xc9, 0x3d, 0x87, 0x5c, 0x72, 0x08, 0xde, 0x52, 0xaf, 0xb6, 0x47, 0xb2, - 0x48, 0xb6, 0xec, 0x20, 0xb9, 0xf1, 0x7d, 0xfc, 0xde, 0xfa, 0xed, 0xdf, 0xfb, 0x5e, 0x41, 0xcb, - 0x34, 0x02, 0x43, 0xef, 0xb9, 0xae, 0x67, 0xde, 0x1c, 0x78, 0x6e, 0xe0, 0xa2, 0xe5, 0xbe, 0x65, - 0x1f, 0x0c, 0x7d, 0xd6, 0xba, 0x49, 0xfe, 0xee, 0x34, 0x7a, 0x6e, 0xbf, 0xef, 0x3a, 0x0c, 0xd4, - 0x69, 0x5a, 0x4e, 0x80, 0x3d, 0xc7, 0xb0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e, 0x13, 0x9d, 0x86, 0x85, 0xc0, 0xf0, 0xf7, 0xc9, 0xf8, 0x95, 0x58, 0xf9, 0x88, - 0x89, 0x4e, 0x41, 0x79, 0xc7, 0xb2, 0x31, 0xab, 0x56, 0xa8, 0x69, 0xac, 0x81, 0xbe, 0x1a, 0xd6, - 0x0f, 0x56, 0x73, 0x97, 0x08, 0x51, 0x7c, 0xf5, 0x73, 0x05, 0x96, 0xa2, 0x53, 0xa3, 0x0a, 0x88, - 0xe8, 0x34, 0xaa, 0xcf, 0xee, 0xbb, 0x26, 0x53, 0x15, 0xcd, 0x11, 0x16, 0x81, 0x75, 0x64, 0x5a, - 0x2b, 0xea, 0x32, 0x2e, 0x4c, 0x26, 0xfb, 0x22, 0x9b, 0xb6, 0xcc, 0xb0, 0x64, 0xa6, 0xe2, 0xb9, - 0x87, 0x5d, 0x53, 0x9c, 0x06, 0xab, 0xb9, 0x66, 0x41, 0x21, 0x39, 0x8d, 0xfb, 0xb4, 0xec, 0xfa, - 0x12, 0x2c, 0x62, 0xcf, 0x73, 0x3d, 0xbd, 0x8f, 0x7d, 0xdf, 0xd8, 0xc5, 0xdc, 0x3f, 0x6f, 0x50, - 0xe0, 0x3a, 0x83, 0xa9, 0xbf, 0x5f, 0x82, 0x66, 0xb4, 0x95, 0xf0, 0x9a, 0xdc, 0x32, 0xc3, 0x6b, - 0x72, 0x8b, 0x90, 0x0e, 0x3c, 0xa6, 0x0a, 0x05, 0x71, 0x57, 0x0b, 0x6d, 0x45, 0xab, 0x71, 0x68, - 0xd7, 0x24, 0x66, 0x99, 0x08, 0x99, 0xe3, 0x9a, 0x38, 0x22, 0x2e, 0x84, 0x20, 0x4e, 0xdb, 0x04, - 0x8f, 0x94, 0x72, 0xf0, 0x48, 0x39, 0x07, 0x8f, 0x54, 0x24, 0x3c, 0xb2, 0x02, 0x95, 0xed, 0x61, - 0x6f, 0x1f, 0x07, 0xdc, 0x63, 0xe3, 0xad, 0x24, 0xef, 0x54, 0x53, 0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, 0x8a, 0x73, 0x77, 0x39, 0xc9, 0xdd, 0x6d, 0x58, 0xd8, 0x1e, 0x5a, 0x54, 0x60, 0x98, - 0xed, 0x09, 0x9b, 0x31, 0x25, 0xb7, 0x90, 0x50, 0x72, 0x97, 0x60, 0x91, 0x9d, 0x69, 0x58, 0x60, - 0x54, 0xe5, 0x4f, 0xa4, 0x09, 0xf0, 0x43, 0x5e, 0x65, 0x34, 0x23, 0xa3, 0x9d, 0x87, 0x7a, 0x96, - 0xb9, 0x60, 0x27, 0x62, 0xa9, 0xab, 0xc0, 0x8a, 0xf6, 0x75, 0x12, 0xc4, 0xe9, 0xfb, 0xf8, 0x88, - 0x95, 0x0f, 0xd3, 0xbb, 0x29, 0x13, 0x3f, 0x7f, 0x68, 0xd9, 0xf8, 0x9b, 0xf8, 0xc8, 0x8f, 0xd3, - 0xae, 0x31, 0x96, 0x76, 0x8b, 0x69, 0xda, 0x91, 0xc0, 0xcc, 0xc7, 0x9e, 0x65, 0xd8, 0xd6, 0x27, - 0x98, 0x55, 0xb0, 0x34, 0x59, 0x81, 0x8c, 0x80, 0xd2, 0x3a, 0x16, 0x12, 0x50, 0x78, 0x56, 0x80, - 0xf5, 0x3d, 0xc3, 0x31, 0xdd, 0x9d, 0x1d, 0x1a, 0x64, 0x55, 0xb5, 0x06, 0x05, 0xbe, 0xcf, 0x60, - 0xea, 0x4f, 0xc3, 0x29, 0xfa, 0x8c, 0x4e, 0xec, 0x73, 0x0a, 0x6d, 0x9f, 0x54, 0x58, 0x85, 0x94, - 0xc2, 0x52, 0xff, 0x94, 0x3d, 0x05, 0x8d, 0x8f, 0x3d, 0x8f, 0xf7, 0xf5, 0x76, 0xf2, 0x02, 0x63, - 0x46, 0x82, 0x15, 0xd3, 0x04, 0x53, 0x3f, 0x55, 0xe2, 0x95, 0x1a, 0x2f, 0xe2, 0x24, 0x26, 0x5a, - 0xdd, 0xcf, 0x14, 0x58, 0xce, 0xcc, 0x3f, 0x21, 0x7d, 0xfa, 0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, 0x03, 0xd7, 0x11, 0xdf, 0x7d, - 0x41, 0x37, 0x93, 0xf4, 0xe3, 0x8d, 0x2c, 0x22, 0x67, 0xb2, 0xce, 0x65, 0x29, 0x7e, 0x0a, 0x59, - 0x3d, 0x81, 0xfa, 0x74, 0x36, 0x12, 0x7c, 0x6c, 0x59, 0xbd, 0xfd, 0x30, 0x1f, 0xff, 0xc6, 0x88, - 0xec, 0x7b, 0x16, 0x35, 0x9c, 0xef, 0x92, 0x74, 0x3e, 0xf6, 0x9d, 0x8d, 0x90, 0x29, 0xd5, 0x13, - 0xe8, 0x19, 0x55, 0xd5, 0xd1, 0xd5, 0x46, 0x38, 0xe1, 0xed, 0xd1, 0x13, 0x66, 0x90, 0xa7, 0x9c, - 0xf2, 0x31, 0x94, 0x29, 0xbb, 0x21, 0xd9, 0xed, 0x47, 0xfc, 0x13, 0x6d, 0x9d, 0x0b, 0xa3, 0x11, - 0xc4, 0x68, 0xdf, 0x81, 0xa5, 0xd4, 0x87, 0x9d, 0x90, 0x2c, 0x17, 0x2a, 0xff, 0x44, 0x57, 0xe7, - 0x46, 0x1e, 0x54, 0x31, 0xd7, 0x2e, 0x34, 0x93, 0x9f, 0x7f, 0x40, 0xd7, 0x73, 0x7c, 0x49, 0x86, - 0xcd, 0xf4, 0x6a, 0xee, 0x6f, 0xce, 0x50, 0x26, 0x68, 0xa5, 0x3f, 0x34, 0x84, 0x6e, 0x8c, 0x1d, - 0x20, 0xc9, 0x6c, 0x5f, 0xc9, 0x85, 0x2b, 0xa6, 0x3b, 0xe2, 0xf6, 0x3a, 0xf5, 0x81, 0x97, 0x34, - 0x8f, 0x47, 0x46, 0x56, 0xfe, 0xe5, 0x99, 0xce, 0xad, 0xdc, 0xf8, 0x62, 0xea, 0x5f, 0x60, 0x6f, - 0x3d, 0x64, 0x1f, 0x49, 0x41, 0x6f, 0xca, 0x87, 0x1b, 0xf3, 0x75, 0x97, 0xce, 0xed, 0x69, 0xba, - 0x88, 0x45, 0x7c, 0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0x23, 0xff, 0x3c, 0xdb, 0x24, 0x76, 0xf9, 0x88, 0x7f, - 0x6d, 0x5d, 0x44, 0x0b, 0xd7, 0x46, 0xa5, 0x19, 0xd2, 0x81, 0xc2, 0x84, 0x81, 0xff, 0x77, 0xbb, - 0xe7, 0x4f, 0x00, 0x62, 0x8e, 0xf9, 0xf8, 0x47, 0x91, 0xc4, 0xd7, 0x9c, 0x74, 0x5a, 0x7d, 0xa9, - 0xef, 0xfd, 0x6a, 0x9e, 0x07, 0x66, 0xa3, 0xbd, 0xa7, 0xd1, 0x1e, 0xf7, 0x53, 0x68, 0xc4, 0x9f, - 0x2b, 0x4b, 0x15, 0x9b, 0xe4, 0x3d, 0xf3, 0xa4, 0x5d, 0xac, 0x4f, 0xe9, 0x94, 0x4d, 0x18, 0xce, - 0x07, 0x94, 0x2d, 0x74, 0x95, 0x3a, 0xb1, 0x23, 0xcb, 0x6b, 0xa5, 0x4e, 0xec, 0xe8, 0xea, 0x59, - 0x96, 0x6d, 0x4a, 0x57, 0x6f, 0x4a, 0xb3, 0x4d, 0x23, 0xea, 0x61, 0xa5, 0xd9, 0xa6, 0x51, 0xe5, - 0xa0, 0xea, 0x89, 0xd5, 0xb7, 0xbe, 0xfd, 0xe6, 0xae, 0x15, 0xec, 0x0d, 0xb7, 0xc9, 0xee, 0x6f, - 0xb1, 0xae, 0xaf, 0x5b, 0x2e, 0xff, 0x75, 0x2b, 0x64, 0xf7, 0x5b, 0x74, 0xb4, 0x5b, 0x64, 0xb4, - 0xc1, 0xf6, 0x76, 0x85, 0xb6, 0xde, 0xfa, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x38, 0x8a, - 0x8a, 0x2f, 0x62, 0x00, 0x00, + // 4597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x3c, 0x4b, 0x8c, 0x1c, 0x49, + 0x56, 0xce, 0xfa, 0x75,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xb2, 0x69, 0xd0, 0xa4, 0x2b, 0x0f, 0x76, 0x86, + 0xa8, 0x1d, 0xd9, 0xf0, 0x77, 0x27, 0x6d, 0x78, 0x00, 0xae, 0x25, 0xc6, 0x87, 0x88, 0xcc, 0x65, + 0x27, 0xf2, 0x00, 0xce, 0x3e, 0xc5, 0x1e, 0x9f, 0x80, 0x7c, 0xc3, 0xee, 0xec, 0xc6, 0x2a, 0xaa, + 0xd5, 0xb9, 0xb8, 0x56, 0xab, 0x7f, 0x97, 0x13, 0xba, 0x48, 0xa7, 0xea, 0x58, 0x7b, 0x36, 0xba, + 0x00, 0x15, 0x01, 0xc2, 0xa5, 0x22, 0xe8, 0x40, 0xdf, 0x82, 0x22, 0xa1, 0x94, 0x89, 0x44, 0xe3, + 0xfe, 0x55, 0xf9, 0x9a, 0x42, 0x38, 0x35, 0x06, 0x8f, 0x3a, 0xd0, 0x70, 0x3d, 0xdd, 0xf1, 0xba, + 0x23, 0xdb, 0xa5, 0x7c, 0xa6, 0x82, 0x53, 0xbd, 0xaf, 0x46, 0x31, 0x08, 0x4b, 0xbf, 0xe1, 0xf6, + 0xb7, 0x38, 0xa4, 0x56, 0xa7, 0x23, 0xfd, 0x26, 0x7a, 0x0c, 0x35, 0x6c, 0x19, 0x01, 0xa2, 0x42, + 0x66, 0x44, 0x55, 0x6c, 0x19, 0x02, 0x4d, 0xc0, 0x9f, 0x62, 0x76, 0xfe, 0xfc, 0xbe, 0x02, 0xad, + 0x24, 0x83, 0xe6, 0x31, 0xd9, 0x0f, 0xd9, 0x20, 0xcc, 0x18, 0x34, 0x51, 0xc3, 0x05, 0x93, 0x34, + 0x3e, 0x44, 0xfd, 0x13, 0x05, 0xde, 0x09, 0xc8, 0xa1, 0x9f, 0xde, 0x94, 0xb4, 0xa0, 0x5b, 0xd0, + 0x34, 0xad, 0xde, 0x60, 0x6c, 0xe0, 0xe7, 0xd6, 0x67, 0x58, 0x1f, 0x78, 0xfb, 0xc7, 0x94, 0x87, + 0x65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+ 0xff, 0xb6, 0x74, 0x78, 0x1c, 0x2c, 0x85, 0x91, 0xa9, 0xd0, 0x62, 0xca, 0x23, 0xe1, 0xda, 0x43, + 0x47, 0x71, 0x93, 0x5d, 0x7b, 0xf2, 0x1a, 0x48, 0xdc, 0xec, 0x4d, 0x80, 0x17, 0x13, 0x7f, 0xa1, + 0xd0, 0xdb, 0x57, 0x31, 0x80, 0x17, 0xa6, 0xb7, 0xbf, 0x35, 0xd0, 0x2d, 0x37, 0x0b, 0x09, 0x14, + 0xf0, 0x04, 0x24, 0x70, 0x78, 0x41, 0x82, 0x01, 0xf5, 0xc8, 0x09, 0x19, 0x92, 0x5d, 0x96, 0x97, + 0x9d, 0x16, 0xb6, 0x57, 0xa6, 0x03, 0x8a, 0x59, 0xf6, 0xa1, 0xee, 0xab, 0x12, 0xdb, 0xdc, 0xf7, + 0xd2, 0x28, 0x0d, 0x60, 0x52, 0x2c, 0x81, 0x1c, 0x34, 0x6c, 0x09, 0x92, 0x07, 0x00, 0x28, 0xdb, + 0xc1, 0xd1, 0x24, 0x4b, 0x90, 0x7e, 0xaa, 0xc0, 0x4c, 0x5d, 0xec, 0xb0, 0x4d, 0x6e, 0x47, 0xa5, + 0x67, 0x87, 0x52, 0x53, 0x97, 0x72, 0x76, 0xa7, 0x9e, 0x42, 0x2f, 0xa0, 0xc4, 0xff, 0x21, 0xe4, + 0xfa, 0xe4, 0xa2, 0x1d, 0xc7, 0x7e, 0x63, 0x0a, 0x94, 0x40, 0x7c, 0x00, 0x67, 0x53, 0x4a, 0x76, + 0x52, 0x17, 0x3c, 0xb9, 0xbc, 0x37, 0xcd, 0x39, 0x88, 0xc9, 0x12, 0x35, 0xb9, 0x09, 0x93, 0xa5, + 0xd5, 0xef, 0xa6, 0x4d, 0xd6, 0x85, 0xa5, 0x44, 0xb9, 0x03, 0xbd, 0x9f, 0xe2, 0xe8, 0x64, 0x45, + 0x91, 0x69, 0x13, 0xf4, 0xe1, 0x1d, 0x69, 0x6a, 0x2f, 0x75, 0xdc, 0x93, 0x8a, 0x00, 0xd3, 0x26, + 0xea, 0xc1, 0x69, 0x49, 0x42, 0x2f, 0x75, 0x39, 0xe9, 0x89, 0xff, 0xb4, 0x49, 0xf6, 0xa0, 0xbd, + 0xea, 0xd8, 0xba, 0xd1, 0xd3, 0x5d, 0x8f, 0x26, 0xd9, 0x24, 0x8b, 0xf2, 0x23, 0x27, 0x79, 0x58, + 0x2d, 0x4d, 0xc5, 0xa7, 0xcd, 0xb3, 0x0b, 0x55, 0xca, 0x4a, 0xf6, 0xdf, 0x0d, 0x48, 0xee, 0x23, + 0x42, 0x10, 0x29, 0x86, 0x47, 0x06, 0x28, 0x84, 0x7a, 0x07, 0xaa, 0x6b, 0xf4, 0x2c, 0xa2, 0x63, + 0x19, 0xf8, 0x55, 0xdc, 0x5f, 0xd1, 0x67, 0xab, 0x77, 0x42, 0x00, 0x99, 0x77, 0xa8, 0x4e, 0x03, + 0x5a, 0x03, 0xbf, 0x62, 0x7c, 0x5e, 0x91, 0xe1, 0x8d, 0x80, 0xa4, 0x24, 0x00, 0x52, 0xc8, 0x90, + 0xa7, 0x3f, 0x13, 0x0e, 0xf3, 0xc4, 0x74, 0x77, 0x53, 0x90, 0x24, 0x20, 0xfd, 0x59, 0xef, 0x65, + 0x1f, 0x10, 0xf6, 0x0c, 0x3e, 0x5d, 0x1d, 0x7a, 0x10, 0x72, 0x73, 0x12, 0xe9, 0xe1, 0xd8, 0x6d, + 0x65, 0x3a, 0xa0, 0x98, 0x65, 0x0b, 0x2a, 0x44, 0x3a, 0x19, 0x7b, 0xae, 0xcb, 0x06, 0x8a, 0xcf, + 0xd9, 0x99, 0xb3, 0x8e, 0xdd, 0x9e, 0x63, 0xee, 0x72, 0xa6, 0x4b, 0xc9, 0x89, 0x80, 0x4c, 0x64, + 0x4e, 0x0c, 0x52, 0x50, 0xfe, 0x9b, 0x34, 0x5a, 0xa7, 0xbd, 0xab, 0x63, 0x73, 0x60, 0x6c, 0x39, + 0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d, 0xf4, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb0, 0x82, 0x83, + 0x41, 0xd8, 0x51, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -6625,15 +5202,15 @@ type DataCoordClient interface { MarkSegmentsDropped(ctx context.Context, in *MarkSegmentsDroppedRequest, opts ...grpc.CallOption) (*commonpb.Status, error) BroadcastAlteredCollection(ctx context.Context, in *AlterCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) CheckHealth(ctx context.Context, in *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error) - CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + CreateIndex(ctx context.Context, in *indexpb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) // Deprecated: use DescribeIndex instead - GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) - GetSegmentIndexState(ctx context.Context, in *GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*GetSegmentIndexStateResponse, error) - GetIndexInfos(ctx context.Context, in *GetIndexInfoRequest, opts ...grpc.CallOption) (*GetIndexInfoResponse, error) - DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) - DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) + GetIndexState(ctx context.Context, in *indexpb.GetIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetIndexStateResponse, error) + GetSegmentIndexState(ctx context.Context, in *indexpb.GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetSegmentIndexStateResponse, error) + GetIndexInfos(ctx context.Context, in *indexpb.GetIndexInfoRequest, opts ...grpc.CallOption) (*indexpb.GetIndexInfoResponse, error) + DropIndex(ctx context.Context, in *indexpb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + DescribeIndex(ctx context.Context, in *indexpb.DescribeIndexRequest, opts ...grpc.CallOption) (*indexpb.DescribeIndexResponse, error) // Deprecated: use DescribeIndex instead - GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error) + GetIndexBuildProgress(ctx context.Context, in *indexpb.GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*indexpb.GetIndexBuildProgressResponse, error) } type dataCoordClient struct { @@ -6932,7 +5509,7 @@ func (c *dataCoordClient) CheckHealth(ctx context.Context, in *milvuspb.CheckHea return out, nil } -func (c *dataCoordClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { +func (c *dataCoordClient) CreateIndex(ctx context.Context, in *indexpb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/CreateIndex", in, out, opts...) if err != nil { @@ -6941,8 +5518,8 @@ func (c *dataCoordClient) CreateIndex(ctx context.Context, in *CreateIndexReques return out, nil } -func (c *dataCoordClient) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) { - out := new(GetIndexStateResponse) +func (c *dataCoordClient) GetIndexState(ctx context.Context, in *indexpb.GetIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetIndexStateResponse, error) { + out := new(indexpb.GetIndexStateResponse) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/GetIndexState", in, out, opts...) if err != nil { return nil, err @@ -6950,8 +5527,8 @@ func (c *dataCoordClient) GetIndexState(ctx context.Context, in *GetIndexStateRe return out, nil } -func (c *dataCoordClient) GetSegmentIndexState(ctx context.Context, in *GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*GetSegmentIndexStateResponse, error) { - out := new(GetSegmentIndexStateResponse) +func (c *dataCoordClient) GetSegmentIndexState(ctx context.Context, in *indexpb.GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetSegmentIndexStateResponse, error) { + out := new(indexpb.GetSegmentIndexStateResponse) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/GetSegmentIndexState", in, out, opts...) if err != nil { return nil, err @@ -6959,8 +5536,8 @@ func (c *dataCoordClient) GetSegmentIndexState(ctx context.Context, in *GetSegme return out, nil } -func (c *dataCoordClient) GetIndexInfos(ctx context.Context, in *GetIndexInfoRequest, opts ...grpc.CallOption) (*GetIndexInfoResponse, error) { - out := new(GetIndexInfoResponse) +func (c *dataCoordClient) GetIndexInfos(ctx context.Context, in *indexpb.GetIndexInfoRequest, opts ...grpc.CallOption) (*indexpb.GetIndexInfoResponse, error) { + out := new(indexpb.GetIndexInfoResponse) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/GetIndexInfos", in, out, opts...) if err != nil { return nil, err @@ -6968,7 +5545,7 @@ func (c *dataCoordClient) GetIndexInfos(ctx context.Context, in *GetIndexInfoReq return out, nil } -func (c *dataCoordClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { +func (c *dataCoordClient) DropIndex(ctx context.Context, in *indexpb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/DropIndex", in, out, opts...) if err != nil { @@ -6977,8 +5554,8 @@ func (c *dataCoordClient) DropIndex(ctx context.Context, in *DropIndexRequest, o return out, nil } -func (c *dataCoordClient) DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) { - out := new(DescribeIndexResponse) +func (c *dataCoordClient) DescribeIndex(ctx context.Context, in *indexpb.DescribeIndexRequest, opts ...grpc.CallOption) (*indexpb.DescribeIndexResponse, error) { + out := new(indexpb.DescribeIndexResponse) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/DescribeIndex", in, out, opts...) if err != nil { return nil, err @@ -6986,8 +5563,8 @@ func (c *dataCoordClient) DescribeIndex(ctx context.Context, in *DescribeIndexRe return out, nil } -func (c *dataCoordClient) GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error) { - out := new(GetIndexBuildProgressResponse) +func (c *dataCoordClient) GetIndexBuildProgress(ctx context.Context, in *indexpb.GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*indexpb.GetIndexBuildProgressResponse, error) { + out := new(indexpb.GetIndexBuildProgressResponse) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/GetIndexBuildProgress", in, out, opts...) if err != nil { return nil, err @@ -7031,15 +5608,15 @@ type DataCoordServer interface { MarkSegmentsDropped(context.Context, *MarkSegmentsDroppedRequest) (*commonpb.Status, error) BroadcastAlteredCollection(context.Context, *AlterCollectionRequest) (*commonpb.Status, error) CheckHealth(context.Context, *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) - CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error) + CreateIndex(context.Context, *indexpb.CreateIndexRequest) (*commonpb.Status, error) // Deprecated: use DescribeIndex instead - GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error) - GetSegmentIndexState(context.Context, *GetSegmentIndexStateRequest) (*GetSegmentIndexStateResponse, error) - GetIndexInfos(context.Context, *GetIndexInfoRequest) (*GetIndexInfoResponse, error) - DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error) - DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error) + GetIndexState(context.Context, *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) + GetSegmentIndexState(context.Context, *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) + GetIndexInfos(context.Context, *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) + DropIndex(context.Context, *indexpb.DropIndexRequest) (*commonpb.Status, error) + DescribeIndex(context.Context, *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) // Deprecated: use DescribeIndex instead - GetIndexBuildProgress(context.Context, *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) + GetIndexBuildProgress(context.Context, *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) } // UnimplementedDataCoordServer can be embedded to have forward compatible implementations. @@ -7142,25 +5719,25 @@ func (*UnimplementedDataCoordServer) BroadcastAlteredCollection(ctx context.Cont func (*UnimplementedDataCoordServer) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckHealth not implemented") } -func (*UnimplementedDataCoordServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*commonpb.Status, error) { +func (*UnimplementedDataCoordServer) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") } -func (*UnimplementedDataCoordServer) GetIndexState(ctx context.Context, req *GetIndexStateRequest) (*GetIndexStateResponse, error) { +func (*UnimplementedDataCoordServer) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented") } -func (*UnimplementedDataCoordServer) GetSegmentIndexState(ctx context.Context, req *GetSegmentIndexStateRequest) (*GetSegmentIndexStateResponse, error) { +func (*UnimplementedDataCoordServer) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSegmentIndexState not implemented") } -func (*UnimplementedDataCoordServer) GetIndexInfos(ctx context.Context, req *GetIndexInfoRequest) (*GetIndexInfoResponse, error) { +func (*UnimplementedDataCoordServer) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIndexInfos not implemented") } -func (*UnimplementedDataCoordServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) { +func (*UnimplementedDataCoordServer) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented") } -func (*UnimplementedDataCoordServer) DescribeIndex(ctx context.Context, req *DescribeIndexRequest) (*DescribeIndexResponse, error) { +func (*UnimplementedDataCoordServer) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented") } -func (*UnimplementedDataCoordServer) GetIndexBuildProgress(ctx context.Context, req *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) { +func (*UnimplementedDataCoordServer) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIndexBuildProgress not implemented") } @@ -7745,7 +6322,7 @@ func _DataCoord_CheckHealth_Handler(srv interface{}, ctx context.Context, dec fu } func _DataCoord_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateIndexRequest) + in := new(indexpb.CreateIndexRequest) if err := dec(in); err != nil { return nil, err } @@ -7757,13 +6334,13 @@ func _DataCoord_CreateIndex_Handler(srv interface{}, ctx context.Context, dec fu FullMethod: "/milvus.proto.data.DataCoord/CreateIndex", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).CreateIndex(ctx, req.(*CreateIndexRequest)) + return srv.(DataCoordServer).CreateIndex(ctx, req.(*indexpb.CreateIndexRequest)) } return interceptor(ctx, in, info, handler) } func _DataCoord_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIndexStateRequest) + in := new(indexpb.GetIndexStateRequest) if err := dec(in); err != nil { return nil, err } @@ -7775,13 +6352,13 @@ func _DataCoord_GetIndexState_Handler(srv interface{}, ctx context.Context, dec FullMethod: "/milvus.proto.data.DataCoord/GetIndexState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).GetIndexState(ctx, req.(*GetIndexStateRequest)) + return srv.(DataCoordServer).GetIndexState(ctx, req.(*indexpb.GetIndexStateRequest)) } return interceptor(ctx, in, info, handler) } func _DataCoord_GetSegmentIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSegmentIndexStateRequest) + in := new(indexpb.GetSegmentIndexStateRequest) if err := dec(in); err != nil { return nil, err } @@ -7793,13 +6370,13 @@ func _DataCoord_GetSegmentIndexState_Handler(srv interface{}, ctx context.Contex FullMethod: "/milvus.proto.data.DataCoord/GetSegmentIndexState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).GetSegmentIndexState(ctx, req.(*GetSegmentIndexStateRequest)) + return srv.(DataCoordServer).GetSegmentIndexState(ctx, req.(*indexpb.GetSegmentIndexStateRequest)) } return interceptor(ctx, in, info, handler) } func _DataCoord_GetIndexInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIndexInfoRequest) + in := new(indexpb.GetIndexInfoRequest) if err := dec(in); err != nil { return nil, err } @@ -7811,13 +6388,13 @@ func _DataCoord_GetIndexInfos_Handler(srv interface{}, ctx context.Context, dec FullMethod: "/milvus.proto.data.DataCoord/GetIndexInfos", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).GetIndexInfos(ctx, req.(*GetIndexInfoRequest)) + return srv.(DataCoordServer).GetIndexInfos(ctx, req.(*indexpb.GetIndexInfoRequest)) } return interceptor(ctx, in, info, handler) } func _DataCoord_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DropIndexRequest) + in := new(indexpb.DropIndexRequest) if err := dec(in); err != nil { return nil, err } @@ -7829,13 +6406,13 @@ func _DataCoord_DropIndex_Handler(srv interface{}, ctx context.Context, dec func FullMethod: "/milvus.proto.data.DataCoord/DropIndex", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).DropIndex(ctx, req.(*DropIndexRequest)) + return srv.(DataCoordServer).DropIndex(ctx, req.(*indexpb.DropIndexRequest)) } return interceptor(ctx, in, info, handler) } func _DataCoord_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeIndexRequest) + in := new(indexpb.DescribeIndexRequest) if err := dec(in); err != nil { return nil, err } @@ -7847,13 +6424,13 @@ func _DataCoord_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec FullMethod: "/milvus.proto.data.DataCoord/DescribeIndex", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).DescribeIndex(ctx, req.(*DescribeIndexRequest)) + return srv.(DataCoordServer).DescribeIndex(ctx, req.(*indexpb.DescribeIndexRequest)) } return interceptor(ctx, in, info, handler) } func _DataCoord_GetIndexBuildProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIndexBuildProgressRequest) + in := new(indexpb.GetIndexBuildProgressRequest) if err := dec(in); err != nil { return nil, err } @@ -7865,7 +6442,7 @@ func _DataCoord_GetIndexBuildProgress_Handler(srv interface{}, ctx context.Conte FullMethod: "/milvus.proto.data.DataCoord/GetIndexBuildProgress", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).GetIndexBuildProgress(ctx, req.(*GetIndexBuildProgressRequest)) + return srv.(DataCoordServer).GetIndexBuildProgress(ctx, req.(*indexpb.GetIndexBuildProgressRequest)) } return interceptor(ctx, in, info, handler) } diff --git a/internal/proto/index_coord.proto b/internal/proto/index_coord.proto new file mode 100644 index 0000000000..76eaae1420 --- /dev/null +++ b/internal/proto/index_coord.proto @@ -0,0 +1,265 @@ +syntax = "proto3"; + +package milvus.proto.index; + +option go_package = "github.com/milvus-io/milvus/internal/proto/indexpb"; + +import "common.proto"; +import "internal.proto"; +import "milvus.proto"; + +service IndexCoord { + rpc GetComponentStates(milvus.GetComponentStatesRequest) returns (milvus.ComponentStates) {} + rpc GetStatisticsChannel(internal.GetStatisticsChannelRequest) returns(milvus.StringResponse){} + rpc CreateIndex(CreateIndexRequest) returns (common.Status){} + // Deprecated: use DescribeIndex instead + rpc GetIndexState(GetIndexStateRequest) returns (GetIndexStateResponse) {} + rpc GetSegmentIndexState(GetSegmentIndexStateRequest) returns (GetSegmentIndexStateResponse) {} + rpc GetIndexInfos(GetIndexInfoRequest) returns (GetIndexInfoResponse){} + rpc DropIndex(DropIndexRequest) returns (common.Status) {} + rpc DescribeIndex(DescribeIndexRequest) returns (DescribeIndexResponse) {} + // Deprecated: use DescribeIndex instead + rpc GetIndexBuildProgress(GetIndexBuildProgressRequest) returns (GetIndexBuildProgressResponse) {} + + rpc ShowConfigurations(internal.ShowConfigurationsRequest) returns (internal.ShowConfigurationsResponse){} + // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy + rpc GetMetrics(milvus.GetMetricsRequest) returns (milvus.GetMetricsResponse) {} + + rpc CheckHealth(milvus.CheckHealthRequest) returns (milvus.CheckHealthResponse) {} +} + +service IndexNode { + rpc GetComponentStates(milvus.GetComponentStatesRequest) returns (milvus.ComponentStates) {} + rpc GetStatisticsChannel(internal.GetStatisticsChannelRequest) returns(milvus.StringResponse){} + rpc CreateJob(CreateJobRequest) returns (common.Status) {} + rpc QueryJobs(QueryJobsRequest) returns (QueryJobsResponse) {} + rpc DropJobs(DropJobsRequest) returns (common.Status) {} + rpc GetJobStats(GetJobStatsRequest) returns (GetJobStatsResponse) {} + + rpc ShowConfigurations(internal.ShowConfigurationsRequest) returns (internal.ShowConfigurationsResponse){} + // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy + rpc GetMetrics(milvus.GetMetricsRequest) returns (milvus.GetMetricsResponse) {} +} + +message IndexInfo { + int64 collectionID = 1; + int64 fieldID = 2; + string index_name = 3; + int64 indexID = 4; + repeated common.KeyValuePair type_params = 5; + repeated common.KeyValuePair index_params = 6; + // index build progress + // The real-time statistics may not be expected due to the existence of the compaction mechanism. + int64 indexed_rows = 7; + int64 total_rows = 8; + // index state + common.IndexState state = 9; + string index_state_fail_reason = 10; + bool is_auto_index = 11; + repeated common.KeyValuePair user_index_params = 12; +} + +message FieldIndex { + IndexInfo index_info = 1; + bool deleted = 2; + uint64 create_time = 3; +} + +message SegmentIndex { + int64 collectionID = 1; + int64 partitionID = 2; + int64 segmentID = 3; + int64 num_rows = 4; + int64 indexID = 5; + int64 buildID = 6; + int64 nodeID = 7; + int64 index_version = 8; + common.IndexState state = 9; + string fail_reason = 10; + repeated string index_file_keys = 11; + bool deleted = 12; + uint64 create_time = 13; + uint64 serialize_size = 14; + bool write_handoff = 15; +} + +message RegisterNodeRequest { + common.MsgBase base = 1; + common.Address address = 2; + int64 nodeID = 3; +} + +message RegisterNodeResponse { + common.Status status = 1; + internal.InitParams init_params = 2; +} + +message GetIndexStateRequest { + int64 collectionID = 1; + string index_name = 2; +} + +message GetIndexStateResponse { + common.Status status = 1; + common.IndexState state = 2; + string fail_reason = 3; +} + +message GetSegmentIndexStateRequest { + int64 collectionID = 1; + string index_name = 2; + repeated int64 segmentIDs = 3; +} + +message SegmentIndexState { + int64 segmentID = 1; + common.IndexState state = 2; + string fail_reason = 3; +} + +message GetSegmentIndexStateResponse { + common.Status status = 1; + repeated SegmentIndexState states = 2; +} + +message CreateIndexRequest { + int64 collectionID = 1; + int64 fieldID = 2; + string index_name = 3; + repeated common.KeyValuePair type_params = 4; + repeated common.KeyValuePair index_params = 5; + uint64 timestamp = 6; + bool is_auto_index = 7; + repeated common.KeyValuePair user_index_params = 8; +} + +message GetIndexInfoRequest { + int64 collectionID = 1; + repeated int64 segmentIDs = 2; + string index_name = 3; +} + +message IndexFilePathInfo { + int64 segmentID = 1; + int64 fieldID = 2; + int64 indexID = 3; + int64 buildID = 4; + string index_name = 5; + repeated common.KeyValuePair index_params = 6; + repeated string index_file_paths = 7; + uint64 serialized_size = 8; + int64 index_version = 9; + int64 num_rows = 10; +} + +message SegmentInfo { + int64 collectionID = 1; + int64 segmentID = 2; + bool enable_index = 3; + repeated IndexFilePathInfo index_infos = 4; +} + +message GetIndexInfoResponse { + common.Status status = 1; + map segment_info = 2; +} + +message DropIndexRequest { + int64 collectionID = 1; + repeated int64 partitionIDs = 2; + string index_name = 3; + bool drop_all = 4; +} + +message DescribeIndexRequest { + int64 collectionID = 1; + string index_name = 2; +} + +message DescribeIndexResponse { + common.Status status = 1; + repeated IndexInfo index_infos = 2; +} + +message GetIndexBuildProgressRequest { + int64 collectionID = 1; + string index_name = 2; +} + +message GetIndexBuildProgressResponse { + common.Status status = 1; + int64 indexed_rows = 2; + int64 total_rows = 3; +} + +message StorageConfig { + string address = 1; + string access_keyID = 2; + string secret_access_key = 3; + bool useSSL = 4; + string bucket_name = 5; + string root_path = 6; + bool useIAM = 7; + string IAMEndpoint = 8; + string storage_type = 9; +} + +message CreateJobRequest { + string clusterID = 1; + string index_file_prefix = 2; + int64 buildID = 3; + repeated string data_paths = 4; + int64 index_version = 5; + int64 indexID = 6; + string index_name = 7; + StorageConfig storage_config = 8; + repeated common.KeyValuePair index_params = 9; + repeated common.KeyValuePair type_params = 10; + int64 num_rows = 11; +} + +message QueryJobsRequest { + string clusterID = 1; + repeated int64 buildIDs = 2; +} + +message IndexTaskInfo { + int64 buildID = 1; + common.IndexState state = 2; + repeated string index_file_keys = 3; + uint64 serialized_size = 4; + string fail_reason = 5; +} + +message QueryJobsResponse { + common.Status status = 1; + string clusterID = 2; + repeated IndexTaskInfo index_infos = 3; +} + +message DropJobsRequest { + string clusterID = 1; + repeated int64 buildIDs = 2; +} + +message JobInfo { + int64 num_rows = 1; + int64 dim = 2; + int64 start_time = 3; + int64 end_time = 4; + repeated common.KeyValuePair index_params = 5; + int64 podID = 6; +} + +message GetJobStatsRequest { +} + +message GetJobStatsResponse { + common.Status status = 1; + int64 total_job_num = 2; + int64 in_progress_job_num = 3; + int64 enqueue_job_num = 4; + int64 task_slots = 5; + repeated JobInfo job_infos = 6; + bool enable_disk = 7; +} diff --git a/internal/proto/index_node.proto b/internal/proto/index_node.proto deleted file mode 100644 index ab4da0d191..0000000000 --- a/internal/proto/index_node.proto +++ /dev/null @@ -1,94 +0,0 @@ -syntax = "proto3"; - -package milvus.proto.index; - -option go_package = "github.com/milvus-io/milvus/internal/proto/indexpb"; - -import "common.proto"; -import "internal.proto"; -import "milvus.proto"; - -service IndexNode { - rpc GetComponentStates(milvus.GetComponentStatesRequest) returns (milvus.ComponentStates) {} - rpc GetStatisticsChannel(internal.GetStatisticsChannelRequest) returns(milvus.StringResponse){} - rpc CreateJob(CreateJobRequest) returns (common.Status) {} - rpc QueryJobs(QueryJobsRequest) returns (QueryJobsResponse) {} - rpc DropJobs(DropJobsRequest) returns (common.Status) {} - rpc GetJobStats(GetJobStatsRequest) returns (GetJobStatsResponse) {} - - rpc ShowConfigurations(internal.ShowConfigurationsRequest) returns (internal.ShowConfigurationsResponse){} - // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy - rpc GetMetrics(milvus.GetMetricsRequest) returns (milvus.GetMetricsResponse) {} -} - -message StorageConfig { - string address = 1; - string access_keyID = 2; - string secret_access_key = 3; - bool useSSL = 4; - string bucket_name = 5; - string root_path = 6; - bool useIAM = 7; - string IAMEndpoint = 8; - string storage_type = 9; -} - -message CreateJobRequest { - string clusterID = 1; - string index_file_prefix = 2; - int64 buildID = 3; - repeated string data_paths = 4; - int64 index_version = 5; - int64 indexID = 6; - string index_name = 7; - StorageConfig storage_config = 8; - repeated common.KeyValuePair index_params = 9; - repeated common.KeyValuePair type_params = 10; - int64 num_rows = 11; -} - -message QueryJobsRequest { - string clusterID = 1; - repeated int64 buildIDs = 2; -} - -message IndexTaskInfo { - int64 buildID = 1; - common.IndexState state = 2; - repeated string index_file_keys = 3; - uint64 serialized_size = 4; - string fail_reason = 5; -} - -message QueryJobsResponse { - common.Status status = 1; - string clusterID = 2; - repeated IndexTaskInfo index_infos = 3; -} - -message DropJobsRequest { - string clusterID = 1; - repeated int64 buildIDs = 2; -} - -message JobInfo { - int64 num_rows = 1; - int64 dim = 2; - int64 start_time = 3; - int64 end_time = 4; - repeated common.KeyValuePair index_params = 5; - int64 podID = 6; -} - -message GetJobStatsRequest { -} - -message GetJobStatsResponse { - common.Status status = 1; - int64 total_job_num = 2; - int64 in_progress_job_num = 3; - int64 enqueue_job_num = 4; - int64 task_slots = 5; - repeated JobInfo job_infos = 6; - bool enable_disk = 7; -} diff --git a/internal/proto/indexpb/index_coord.pb.go b/internal/proto/indexpb/index_coord.pb.go new file mode 100644 index 0000000000..d651e4c21c --- /dev/null +++ b/internal/proto/indexpb/index_coord.pb.go @@ -0,0 +1,2978 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: index_coord.proto + +package indexpb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + commonpb "github.com/milvus-io/milvus-proto/go-api/commonpb" + milvuspb "github.com/milvus-io/milvus-proto/go-api/milvuspb" + internalpb "github.com/milvus-io/milvus/internal/proto/internalpb" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type IndexInfo struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"` + IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + IndexID int64 `protobuf:"varint,4,opt,name=indexID,proto3" json:"indexID,omitempty"` + TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` + IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` + // index build progress + // The real-time statistics may not be expected due to the existence of the compaction mechanism. + IndexedRows int64 `protobuf:"varint,7,opt,name=indexed_rows,json=indexedRows,proto3" json:"indexed_rows,omitempty"` + TotalRows int64 `protobuf:"varint,8,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` + // index state + State commonpb.IndexState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` + IndexStateFailReason string `protobuf:"bytes,10,opt,name=index_state_fail_reason,json=indexStateFailReason,proto3" json:"index_state_fail_reason,omitempty"` + IsAutoIndex bool `protobuf:"varint,11,opt,name=is_auto_index,json=isAutoIndex,proto3" json:"is_auto_index,omitempty"` + UserIndexParams []*commonpb.KeyValuePair `protobuf:"bytes,12,rep,name=user_index_params,json=userIndexParams,proto3" json:"user_index_params,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IndexInfo) Reset() { *m = IndexInfo{} } +func (m *IndexInfo) String() string { return proto.CompactTextString(m) } +func (*IndexInfo) ProtoMessage() {} +func (*IndexInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{0} +} + +func (m *IndexInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IndexInfo.Unmarshal(m, b) +} +func (m *IndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IndexInfo.Marshal(b, m, deterministic) +} +func (m *IndexInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_IndexInfo.Merge(m, src) +} +func (m *IndexInfo) XXX_Size() int { + return xxx_messageInfo_IndexInfo.Size(m) +} +func (m *IndexInfo) XXX_DiscardUnknown() { + xxx_messageInfo_IndexInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_IndexInfo proto.InternalMessageInfo + +func (m *IndexInfo) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *IndexInfo) GetFieldID() int64 { + if m != nil { + return m.FieldID + } + return 0 +} + +func (m *IndexInfo) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +func (m *IndexInfo) GetIndexID() int64 { + if m != nil { + return m.IndexID + } + return 0 +} + +func (m *IndexInfo) GetTypeParams() []*commonpb.KeyValuePair { + if m != nil { + return m.TypeParams + } + return nil +} + +func (m *IndexInfo) GetIndexParams() []*commonpb.KeyValuePair { + if m != nil { + return m.IndexParams + } + return nil +} + +func (m *IndexInfo) GetIndexedRows() int64 { + if m != nil { + return m.IndexedRows + } + return 0 +} + +func (m *IndexInfo) GetTotalRows() int64 { + if m != nil { + return m.TotalRows + } + return 0 +} + +func (m *IndexInfo) GetState() commonpb.IndexState { + if m != nil { + return m.State + } + return commonpb.IndexState_IndexStateNone +} + +func (m *IndexInfo) GetIndexStateFailReason() string { + if m != nil { + return m.IndexStateFailReason + } + return "" +} + +func (m *IndexInfo) GetIsAutoIndex() bool { + if m != nil { + return m.IsAutoIndex + } + return false +} + +func (m *IndexInfo) GetUserIndexParams() []*commonpb.KeyValuePair { + if m != nil { + return m.UserIndexParams + } + return nil +} + +type FieldIndex struct { + IndexInfo *IndexInfo `protobuf:"bytes,1,opt,name=index_info,json=indexInfo,proto3" json:"index_info,omitempty"` + Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"` + CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldIndex) Reset() { *m = FieldIndex{} } +func (m *FieldIndex) String() string { return proto.CompactTextString(m) } +func (*FieldIndex) ProtoMessage() {} +func (*FieldIndex) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{1} +} + +func (m *FieldIndex) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldIndex.Unmarshal(m, b) +} +func (m *FieldIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldIndex.Marshal(b, m, deterministic) +} +func (m *FieldIndex) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldIndex.Merge(m, src) +} +func (m *FieldIndex) XXX_Size() int { + return xxx_messageInfo_FieldIndex.Size(m) +} +func (m *FieldIndex) XXX_DiscardUnknown() { + xxx_messageInfo_FieldIndex.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldIndex proto.InternalMessageInfo + +func (m *FieldIndex) GetIndexInfo() *IndexInfo { + if m != nil { + return m.IndexInfo + } + return nil +} + +func (m *FieldIndex) GetDeleted() bool { + if m != nil { + return m.Deleted + } + return false +} + +func (m *FieldIndex) GetCreateTime() uint64 { + if m != nil { + return m.CreateTime + } + return 0 +} + +type SegmentIndex struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"` + SegmentID int64 `protobuf:"varint,3,opt,name=segmentID,proto3" json:"segmentID,omitempty"` + NumRows int64 `protobuf:"varint,4,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` + IndexID int64 `protobuf:"varint,5,opt,name=indexID,proto3" json:"indexID,omitempty"` + BuildID int64 `protobuf:"varint,6,opt,name=buildID,proto3" json:"buildID,omitempty"` + NodeID int64 `protobuf:"varint,7,opt,name=nodeID,proto3" json:"nodeID,omitempty"` + IndexVersion int64 `protobuf:"varint,8,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"` + State commonpb.IndexState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` + FailReason string `protobuf:"bytes,10,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` + IndexFileKeys []string `protobuf:"bytes,11,rep,name=index_file_keys,json=indexFileKeys,proto3" json:"index_file_keys,omitempty"` + Deleted bool `protobuf:"varint,12,opt,name=deleted,proto3" json:"deleted,omitempty"` + CreateTime uint64 `protobuf:"varint,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + SerializeSize uint64 `protobuf:"varint,14,opt,name=serialize_size,json=serializeSize,proto3" json:"serialize_size,omitempty"` + WriteHandoff bool `protobuf:"varint,15,opt,name=write_handoff,json=writeHandoff,proto3" json:"write_handoff,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SegmentIndex) Reset() { *m = SegmentIndex{} } +func (m *SegmentIndex) String() string { return proto.CompactTextString(m) } +func (*SegmentIndex) ProtoMessage() {} +func (*SegmentIndex) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{2} +} + +func (m *SegmentIndex) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SegmentIndex.Unmarshal(m, b) +} +func (m *SegmentIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SegmentIndex.Marshal(b, m, deterministic) +} +func (m *SegmentIndex) XXX_Merge(src proto.Message) { + xxx_messageInfo_SegmentIndex.Merge(m, src) +} +func (m *SegmentIndex) XXX_Size() int { + return xxx_messageInfo_SegmentIndex.Size(m) +} +func (m *SegmentIndex) XXX_DiscardUnknown() { + xxx_messageInfo_SegmentIndex.DiscardUnknown(m) +} + +var xxx_messageInfo_SegmentIndex proto.InternalMessageInfo + +func (m *SegmentIndex) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *SegmentIndex) GetPartitionID() int64 { + if m != nil { + return m.PartitionID + } + return 0 +} + +func (m *SegmentIndex) GetSegmentID() int64 { + if m != nil { + return m.SegmentID + } + return 0 +} + +func (m *SegmentIndex) GetNumRows() int64 { + if m != nil { + return m.NumRows + } + return 0 +} + +func (m *SegmentIndex) GetIndexID() int64 { + if m != nil { + return m.IndexID + } + return 0 +} + +func (m *SegmentIndex) GetBuildID() int64 { + if m != nil { + return m.BuildID + } + return 0 +} + +func (m *SegmentIndex) GetNodeID() int64 { + if m != nil { + return m.NodeID + } + return 0 +} + +func (m *SegmentIndex) GetIndexVersion() int64 { + if m != nil { + return m.IndexVersion + } + return 0 +} + +func (m *SegmentIndex) GetState() commonpb.IndexState { + if m != nil { + return m.State + } + return commonpb.IndexState_IndexStateNone +} + +func (m *SegmentIndex) GetFailReason() string { + if m != nil { + return m.FailReason + } + return "" +} + +func (m *SegmentIndex) GetIndexFileKeys() []string { + if m != nil { + return m.IndexFileKeys + } + return nil +} + +func (m *SegmentIndex) GetDeleted() bool { + if m != nil { + return m.Deleted + } + return false +} + +func (m *SegmentIndex) GetCreateTime() uint64 { + if m != nil { + return m.CreateTime + } + return 0 +} + +func (m *SegmentIndex) GetSerializeSize() uint64 { + if m != nil { + return m.SerializeSize + } + return 0 +} + +func (m *SegmentIndex) GetWriteHandoff() bool { + if m != nil { + return m.WriteHandoff + } + return false +} + +type RegisterNodeRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + NodeID int64 `protobuf:"varint,3,opt,name=nodeID,proto3" json:"nodeID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} } +func (m *RegisterNodeRequest) String() string { return proto.CompactTextString(m) } +func (*RegisterNodeRequest) ProtoMessage() {} +func (*RegisterNodeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{3} +} + +func (m *RegisterNodeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterNodeRequest.Unmarshal(m, b) +} +func (m *RegisterNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterNodeRequest.Marshal(b, m, deterministic) +} +func (m *RegisterNodeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterNodeRequest.Merge(m, src) +} +func (m *RegisterNodeRequest) XXX_Size() int { + return xxx_messageInfo_RegisterNodeRequest.Size(m) +} +func (m *RegisterNodeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterNodeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo + +func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *RegisterNodeRequest) GetAddress() *commonpb.Address { + if m != nil { + return m.Address + } + return nil +} + +func (m *RegisterNodeRequest) GetNodeID() int64 { + if m != nil { + return m.NodeID + } + return 0 +} + +type RegisterNodeResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + InitParams *internalpb.InitParams `protobuf:"bytes,2,opt,name=init_params,json=initParams,proto3" json:"init_params,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterNodeResponse) Reset() { *m = RegisterNodeResponse{} } +func (m *RegisterNodeResponse) String() string { return proto.CompactTextString(m) } +func (*RegisterNodeResponse) ProtoMessage() {} +func (*RegisterNodeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{4} +} + +func (m *RegisterNodeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterNodeResponse.Unmarshal(m, b) +} +func (m *RegisterNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterNodeResponse.Marshal(b, m, deterministic) +} +func (m *RegisterNodeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterNodeResponse.Merge(m, src) +} +func (m *RegisterNodeResponse) XXX_Size() int { + return xxx_messageInfo_RegisterNodeResponse.Size(m) +} +func (m *RegisterNodeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterNodeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterNodeResponse proto.InternalMessageInfo + +func (m *RegisterNodeResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *RegisterNodeResponse) GetInitParams() *internalpb.InitParams { + if m != nil { + return m.InitParams + } + return nil +} + +type GetIndexStateRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetIndexStateRequest) Reset() { *m = GetIndexStateRequest{} } +func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) } +func (*GetIndexStateRequest) ProtoMessage() {} +func (*GetIndexStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{5} +} + +func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetIndexStateRequest.Unmarshal(m, b) +} +func (m *GetIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetIndexStateRequest.Marshal(b, m, deterministic) +} +func (m *GetIndexStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIndexStateRequest.Merge(m, src) +} +func (m *GetIndexStateRequest) XXX_Size() int { + return xxx_messageInfo_GetIndexStateRequest.Size(m) +} +func (m *GetIndexStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetIndexStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetIndexStateRequest proto.InternalMessageInfo + +func (m *GetIndexStateRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *GetIndexStateRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +type GetIndexStateResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` + FailReason string `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetIndexStateResponse) Reset() { *m = GetIndexStateResponse{} } +func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) } +func (*GetIndexStateResponse) ProtoMessage() {} +func (*GetIndexStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{6} +} + +func (m *GetIndexStateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetIndexStateResponse.Unmarshal(m, b) +} +func (m *GetIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetIndexStateResponse.Marshal(b, m, deterministic) +} +func (m *GetIndexStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIndexStateResponse.Merge(m, src) +} +func (m *GetIndexStateResponse) XXX_Size() int { + return xxx_messageInfo_GetIndexStateResponse.Size(m) +} +func (m *GetIndexStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetIndexStateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetIndexStateResponse proto.InternalMessageInfo + +func (m *GetIndexStateResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *GetIndexStateResponse) GetState() commonpb.IndexState { + if m != nil { + return m.State + } + return commonpb.IndexState_IndexStateNone +} + +func (m *GetIndexStateResponse) GetFailReason() string { + if m != nil { + return m.FailReason + } + return "" +} + +type GetSegmentIndexStateRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSegmentIndexStateRequest) Reset() { *m = GetSegmentIndexStateRequest{} } +func (m *GetSegmentIndexStateRequest) String() string { return proto.CompactTextString(m) } +func (*GetSegmentIndexStateRequest) ProtoMessage() {} +func (*GetSegmentIndexStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{7} +} + +func (m *GetSegmentIndexStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSegmentIndexStateRequest.Unmarshal(m, b) +} +func (m *GetSegmentIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSegmentIndexStateRequest.Marshal(b, m, deterministic) +} +func (m *GetSegmentIndexStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSegmentIndexStateRequest.Merge(m, src) +} +func (m *GetSegmentIndexStateRequest) XXX_Size() int { + return xxx_messageInfo_GetSegmentIndexStateRequest.Size(m) +} +func (m *GetSegmentIndexStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSegmentIndexStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSegmentIndexStateRequest proto.InternalMessageInfo + +func (m *GetSegmentIndexStateRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *GetSegmentIndexStateRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +func (m *GetSegmentIndexStateRequest) GetSegmentIDs() []int64 { + if m != nil { + return m.SegmentIDs + } + return nil +} + +type SegmentIndexState struct { + SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` + State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` + FailReason string `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SegmentIndexState) Reset() { *m = SegmentIndexState{} } +func (m *SegmentIndexState) String() string { return proto.CompactTextString(m) } +func (*SegmentIndexState) ProtoMessage() {} +func (*SegmentIndexState) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{8} +} + +func (m *SegmentIndexState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SegmentIndexState.Unmarshal(m, b) +} +func (m *SegmentIndexState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SegmentIndexState.Marshal(b, m, deterministic) +} +func (m *SegmentIndexState) XXX_Merge(src proto.Message) { + xxx_messageInfo_SegmentIndexState.Merge(m, src) +} +func (m *SegmentIndexState) XXX_Size() int { + return xxx_messageInfo_SegmentIndexState.Size(m) +} +func (m *SegmentIndexState) XXX_DiscardUnknown() { + xxx_messageInfo_SegmentIndexState.DiscardUnknown(m) +} + +var xxx_messageInfo_SegmentIndexState proto.InternalMessageInfo + +func (m *SegmentIndexState) GetSegmentID() int64 { + if m != nil { + return m.SegmentID + } + return 0 +} + +func (m *SegmentIndexState) GetState() commonpb.IndexState { + if m != nil { + return m.State + } + return commonpb.IndexState_IndexStateNone +} + +func (m *SegmentIndexState) GetFailReason() string { + if m != nil { + return m.FailReason + } + return "" +} + +type GetSegmentIndexStateResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + States []*SegmentIndexState `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSegmentIndexStateResponse) Reset() { *m = GetSegmentIndexStateResponse{} } +func (m *GetSegmentIndexStateResponse) String() string { return proto.CompactTextString(m) } +func (*GetSegmentIndexStateResponse) ProtoMessage() {} +func (*GetSegmentIndexStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{9} +} + +func (m *GetSegmentIndexStateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSegmentIndexStateResponse.Unmarshal(m, b) +} +func (m *GetSegmentIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSegmentIndexStateResponse.Marshal(b, m, deterministic) +} +func (m *GetSegmentIndexStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSegmentIndexStateResponse.Merge(m, src) +} +func (m *GetSegmentIndexStateResponse) XXX_Size() int { + return xxx_messageInfo_GetSegmentIndexStateResponse.Size(m) +} +func (m *GetSegmentIndexStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetSegmentIndexStateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSegmentIndexStateResponse proto.InternalMessageInfo + +func (m *GetSegmentIndexStateResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *GetSegmentIndexStateResponse) GetStates() []*SegmentIndexState { + if m != nil { + return m.States + } + return nil +} + +type CreateIndexRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"` + IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` + IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` + Timestamp uint64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + IsAutoIndex bool `protobuf:"varint,7,opt,name=is_auto_index,json=isAutoIndex,proto3" json:"is_auto_index,omitempty"` + UserIndexParams []*commonpb.KeyValuePair `protobuf:"bytes,8,rep,name=user_index_params,json=userIndexParams,proto3" json:"user_index_params,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } +func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } +func (*CreateIndexRequest) ProtoMessage() {} +func (*CreateIndexRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{10} +} + +func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b) +} +func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic) +} +func (m *CreateIndexRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateIndexRequest.Merge(m, src) +} +func (m *CreateIndexRequest) XXX_Size() int { + return xxx_messageInfo_CreateIndexRequest.Size(m) +} +func (m *CreateIndexRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo + +func (m *CreateIndexRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *CreateIndexRequest) GetFieldID() int64 { + if m != nil { + return m.FieldID + } + return 0 +} + +func (m *CreateIndexRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +func (m *CreateIndexRequest) GetTypeParams() []*commonpb.KeyValuePair { + if m != nil { + return m.TypeParams + } + return nil +} + +func (m *CreateIndexRequest) GetIndexParams() []*commonpb.KeyValuePair { + if m != nil { + return m.IndexParams + } + return nil +} + +func (m *CreateIndexRequest) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp + } + return 0 +} + +func (m *CreateIndexRequest) GetIsAutoIndex() bool { + if m != nil { + return m.IsAutoIndex + } + return false +} + +func (m *CreateIndexRequest) GetUserIndexParams() []*commonpb.KeyValuePair { + if m != nil { + return m.UserIndexParams + } + return nil +} + +type GetIndexInfoRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` + IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetIndexInfoRequest) Reset() { *m = GetIndexInfoRequest{} } +func (m *GetIndexInfoRequest) String() string { return proto.CompactTextString(m) } +func (*GetIndexInfoRequest) ProtoMessage() {} +func (*GetIndexInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{11} +} + +func (m *GetIndexInfoRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetIndexInfoRequest.Unmarshal(m, b) +} +func (m *GetIndexInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetIndexInfoRequest.Marshal(b, m, deterministic) +} +func (m *GetIndexInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIndexInfoRequest.Merge(m, src) +} +func (m *GetIndexInfoRequest) XXX_Size() int { + return xxx_messageInfo_GetIndexInfoRequest.Size(m) +} +func (m *GetIndexInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetIndexInfoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetIndexInfoRequest proto.InternalMessageInfo + +func (m *GetIndexInfoRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *GetIndexInfoRequest) GetSegmentIDs() []int64 { + if m != nil { + return m.SegmentIDs + } + return nil +} + +func (m *GetIndexInfoRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +type IndexFilePathInfo struct { + SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` + FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"` + IndexID int64 `protobuf:"varint,3,opt,name=indexID,proto3" json:"indexID,omitempty"` + BuildID int64 `protobuf:"varint,4,opt,name=buildID,proto3" json:"buildID,omitempty"` + IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` + IndexFilePaths []string `protobuf:"bytes,7,rep,name=index_file_paths,json=indexFilePaths,proto3" json:"index_file_paths,omitempty"` + SerializedSize uint64 `protobuf:"varint,8,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"` + IndexVersion int64 `protobuf:"varint,9,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"` + NumRows int64 `protobuf:"varint,10,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IndexFilePathInfo) Reset() { *m = IndexFilePathInfo{} } +func (m *IndexFilePathInfo) String() string { return proto.CompactTextString(m) } +func (*IndexFilePathInfo) ProtoMessage() {} +func (*IndexFilePathInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{12} +} + +func (m *IndexFilePathInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IndexFilePathInfo.Unmarshal(m, b) +} +func (m *IndexFilePathInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IndexFilePathInfo.Marshal(b, m, deterministic) +} +func (m *IndexFilePathInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_IndexFilePathInfo.Merge(m, src) +} +func (m *IndexFilePathInfo) XXX_Size() int { + return xxx_messageInfo_IndexFilePathInfo.Size(m) +} +func (m *IndexFilePathInfo) XXX_DiscardUnknown() { + xxx_messageInfo_IndexFilePathInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_IndexFilePathInfo proto.InternalMessageInfo + +func (m *IndexFilePathInfo) GetSegmentID() int64 { + if m != nil { + return m.SegmentID + } + return 0 +} + +func (m *IndexFilePathInfo) GetFieldID() int64 { + if m != nil { + return m.FieldID + } + return 0 +} + +func (m *IndexFilePathInfo) GetIndexID() int64 { + if m != nil { + return m.IndexID + } + return 0 +} + +func (m *IndexFilePathInfo) GetBuildID() int64 { + if m != nil { + return m.BuildID + } + return 0 +} + +func (m *IndexFilePathInfo) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +func (m *IndexFilePathInfo) GetIndexParams() []*commonpb.KeyValuePair { + if m != nil { + return m.IndexParams + } + return nil +} + +func (m *IndexFilePathInfo) GetIndexFilePaths() []string { + if m != nil { + return m.IndexFilePaths + } + return nil +} + +func (m *IndexFilePathInfo) GetSerializedSize() uint64 { + if m != nil { + return m.SerializedSize + } + return 0 +} + +func (m *IndexFilePathInfo) GetIndexVersion() int64 { + if m != nil { + return m.IndexVersion + } + return 0 +} + +func (m *IndexFilePathInfo) GetNumRows() int64 { + if m != nil { + return m.NumRows + } + return 0 +} + +type SegmentInfo struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"` + EnableIndex bool `protobuf:"varint,3,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"` + IndexInfos []*IndexFilePathInfo `protobuf:"bytes,4,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SegmentInfo) Reset() { *m = SegmentInfo{} } +func (m *SegmentInfo) String() string { return proto.CompactTextString(m) } +func (*SegmentInfo) ProtoMessage() {} +func (*SegmentInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{13} +} + +func (m *SegmentInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SegmentInfo.Unmarshal(m, b) +} +func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic) +} +func (m *SegmentInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SegmentInfo.Merge(m, src) +} +func (m *SegmentInfo) XXX_Size() int { + return xxx_messageInfo_SegmentInfo.Size(m) +} +func (m *SegmentInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SegmentInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo + +func (m *SegmentInfo) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *SegmentInfo) GetSegmentID() int64 { + if m != nil { + return m.SegmentID + } + return 0 +} + +func (m *SegmentInfo) GetEnableIndex() bool { + if m != nil { + return m.EnableIndex + } + return false +} + +func (m *SegmentInfo) GetIndexInfos() []*IndexFilePathInfo { + if m != nil { + return m.IndexInfos + } + return nil +} + +type GetIndexInfoResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + SegmentInfo map[int64]*SegmentInfo `protobuf:"bytes,2,rep,name=segment_info,json=segmentInfo,proto3" json:"segment_info,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetIndexInfoResponse) Reset() { *m = GetIndexInfoResponse{} } +func (m *GetIndexInfoResponse) String() string { return proto.CompactTextString(m) } +func (*GetIndexInfoResponse) ProtoMessage() {} +func (*GetIndexInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{14} +} + +func (m *GetIndexInfoResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetIndexInfoResponse.Unmarshal(m, b) +} +func (m *GetIndexInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetIndexInfoResponse.Marshal(b, m, deterministic) +} +func (m *GetIndexInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIndexInfoResponse.Merge(m, src) +} +func (m *GetIndexInfoResponse) XXX_Size() int { + return xxx_messageInfo_GetIndexInfoResponse.Size(m) +} +func (m *GetIndexInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetIndexInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetIndexInfoResponse proto.InternalMessageInfo + +func (m *GetIndexInfoResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *GetIndexInfoResponse) GetSegmentInfo() map[int64]*SegmentInfo { + if m != nil { + return m.SegmentInfo + } + return nil +} + +type DropIndexRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + PartitionIDs []int64 `protobuf:"varint,2,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"` + IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + DropAll bool `protobuf:"varint,4,opt,name=drop_all,json=dropAll,proto3" json:"drop_all,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DropIndexRequest) Reset() { *m = DropIndexRequest{} } +func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) } +func (*DropIndexRequest) ProtoMessage() {} +func (*DropIndexRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{15} +} + +func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DropIndexRequest.Unmarshal(m, b) +} +func (m *DropIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DropIndexRequest.Marshal(b, m, deterministic) +} +func (m *DropIndexRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DropIndexRequest.Merge(m, src) +} +func (m *DropIndexRequest) XXX_Size() int { + return xxx_messageInfo_DropIndexRequest.Size(m) +} +func (m *DropIndexRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DropIndexRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo + +func (m *DropIndexRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *DropIndexRequest) GetPartitionIDs() []int64 { + if m != nil { + return m.PartitionIDs + } + return nil +} + +func (m *DropIndexRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +func (m *DropIndexRequest) GetDropAll() bool { + if m != nil { + return m.DropAll + } + return false +} + +type DescribeIndexRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} } +func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) } +func (*DescribeIndexRequest) ProtoMessage() {} +func (*DescribeIndexRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{16} +} + +func (m *DescribeIndexRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DescribeIndexRequest.Unmarshal(m, b) +} +func (m *DescribeIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DescribeIndexRequest.Marshal(b, m, deterministic) +} +func (m *DescribeIndexRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeIndexRequest.Merge(m, src) +} +func (m *DescribeIndexRequest) XXX_Size() int { + return xxx_messageInfo_DescribeIndexRequest.Size(m) +} +func (m *DescribeIndexRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeIndexRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo + +func (m *DescribeIndexRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *DescribeIndexRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +type DescribeIndexResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + IndexInfos []*IndexInfo `protobuf:"bytes,2,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeIndexResponse) Reset() { *m = DescribeIndexResponse{} } +func (m *DescribeIndexResponse) String() string { return proto.CompactTextString(m) } +func (*DescribeIndexResponse) ProtoMessage() {} +func (*DescribeIndexResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{17} +} + +func (m *DescribeIndexResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DescribeIndexResponse.Unmarshal(m, b) +} +func (m *DescribeIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DescribeIndexResponse.Marshal(b, m, deterministic) +} +func (m *DescribeIndexResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeIndexResponse.Merge(m, src) +} +func (m *DescribeIndexResponse) XXX_Size() int { + return xxx_messageInfo_DescribeIndexResponse.Size(m) +} +func (m *DescribeIndexResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeIndexResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeIndexResponse proto.InternalMessageInfo + +func (m *DescribeIndexResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *DescribeIndexResponse) GetIndexInfos() []*IndexInfo { + if m != nil { + return m.IndexInfos + } + return nil +} + +type GetIndexBuildProgressRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetIndexBuildProgressRequest) Reset() { *m = GetIndexBuildProgressRequest{} } +func (m *GetIndexBuildProgressRequest) String() string { return proto.CompactTextString(m) } +func (*GetIndexBuildProgressRequest) ProtoMessage() {} +func (*GetIndexBuildProgressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{18} +} + +func (m *GetIndexBuildProgressRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetIndexBuildProgressRequest.Unmarshal(m, b) +} +func (m *GetIndexBuildProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetIndexBuildProgressRequest.Marshal(b, m, deterministic) +} +func (m *GetIndexBuildProgressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIndexBuildProgressRequest.Merge(m, src) +} +func (m *GetIndexBuildProgressRequest) XXX_Size() int { + return xxx_messageInfo_GetIndexBuildProgressRequest.Size(m) +} +func (m *GetIndexBuildProgressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetIndexBuildProgressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetIndexBuildProgressRequest proto.InternalMessageInfo + +func (m *GetIndexBuildProgressRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *GetIndexBuildProgressRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +type GetIndexBuildProgressResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + IndexedRows int64 `protobuf:"varint,2,opt,name=indexed_rows,json=indexedRows,proto3" json:"indexed_rows,omitempty"` + TotalRows int64 `protobuf:"varint,3,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetIndexBuildProgressResponse) Reset() { *m = GetIndexBuildProgressResponse{} } +func (m *GetIndexBuildProgressResponse) String() string { return proto.CompactTextString(m) } +func (*GetIndexBuildProgressResponse) ProtoMessage() {} +func (*GetIndexBuildProgressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{19} +} + +func (m *GetIndexBuildProgressResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetIndexBuildProgressResponse.Unmarshal(m, b) +} +func (m *GetIndexBuildProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetIndexBuildProgressResponse.Marshal(b, m, deterministic) +} +func (m *GetIndexBuildProgressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIndexBuildProgressResponse.Merge(m, src) +} +func (m *GetIndexBuildProgressResponse) XXX_Size() int { + return xxx_messageInfo_GetIndexBuildProgressResponse.Size(m) +} +func (m *GetIndexBuildProgressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetIndexBuildProgressResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetIndexBuildProgressResponse proto.InternalMessageInfo + +func (m *GetIndexBuildProgressResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *GetIndexBuildProgressResponse) GetIndexedRows() int64 { + if m != nil { + return m.IndexedRows + } + return 0 +} + +func (m *GetIndexBuildProgressResponse) GetTotalRows() int64 { + if m != nil { + return m.TotalRows + } + return 0 +} + +type StorageConfig struct { + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + AccessKeyID string `protobuf:"bytes,2,opt,name=access_keyID,json=accessKeyID,proto3" json:"access_keyID,omitempty"` + SecretAccessKey string `protobuf:"bytes,3,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"` + UseSSL bool `protobuf:"varint,4,opt,name=useSSL,proto3" json:"useSSL,omitempty"` + BucketName string `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + RootPath string `protobuf:"bytes,6,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` + UseIAM bool `protobuf:"varint,7,opt,name=useIAM,proto3" json:"useIAM,omitempty"` + IAMEndpoint string `protobuf:"bytes,8,opt,name=IAMEndpoint,proto3" json:"IAMEndpoint,omitempty"` + StorageType string `protobuf:"bytes,9,opt,name=storage_type,json=storageType,proto3" json:"storage_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StorageConfig) Reset() { *m = StorageConfig{} } +func (m *StorageConfig) String() string { return proto.CompactTextString(m) } +func (*StorageConfig) ProtoMessage() {} +func (*StorageConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{20} +} + +func (m *StorageConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StorageConfig.Unmarshal(m, b) +} +func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StorageConfig.Marshal(b, m, deterministic) +} +func (m *StorageConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_StorageConfig.Merge(m, src) +} +func (m *StorageConfig) XXX_Size() int { + return xxx_messageInfo_StorageConfig.Size(m) +} +func (m *StorageConfig) XXX_DiscardUnknown() { + xxx_messageInfo_StorageConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_StorageConfig proto.InternalMessageInfo + +func (m *StorageConfig) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *StorageConfig) GetAccessKeyID() string { + if m != nil { + return m.AccessKeyID + } + return "" +} + +func (m *StorageConfig) GetSecretAccessKey() string { + if m != nil { + return m.SecretAccessKey + } + return "" +} + +func (m *StorageConfig) GetUseSSL() bool { + if m != nil { + return m.UseSSL + } + return false +} + +func (m *StorageConfig) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + +func (m *StorageConfig) GetRootPath() string { + if m != nil { + return m.RootPath + } + return "" +} + +func (m *StorageConfig) GetUseIAM() bool { + if m != nil { + return m.UseIAM + } + return false +} + +func (m *StorageConfig) GetIAMEndpoint() string { + if m != nil { + return m.IAMEndpoint + } + return "" +} + +func (m *StorageConfig) GetStorageType() string { + if m != nil { + return m.StorageType + } + return "" +} + +type CreateJobRequest struct { + ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"` + IndexFilePrefix string `protobuf:"bytes,2,opt,name=index_file_prefix,json=indexFilePrefix,proto3" json:"index_file_prefix,omitempty"` + BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"` + DataPaths []string `protobuf:"bytes,4,rep,name=data_paths,json=dataPaths,proto3" json:"data_paths,omitempty"` + IndexVersion int64 `protobuf:"varint,5,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"` + IndexID int64 `protobuf:"varint,6,opt,name=indexID,proto3" json:"indexID,omitempty"` + IndexName string `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + StorageConfig *StorageConfig `protobuf:"bytes,8,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"` + IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,9,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` + TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,10,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` + NumRows int64 `protobuf:"varint,11,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} } +func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) } +func (*CreateJobRequest) ProtoMessage() {} +func (*CreateJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{21} +} + +func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b) +} +func (m *CreateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateJobRequest.Marshal(b, m, deterministic) +} +func (m *CreateJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateJobRequest.Merge(m, src) +} +func (m *CreateJobRequest) XXX_Size() int { + return xxx_messageInfo_CreateJobRequest.Size(m) +} +func (m *CreateJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateJobRequest proto.InternalMessageInfo + +func (m *CreateJobRequest) GetClusterID() string { + if m != nil { + return m.ClusterID + } + return "" +} + +func (m *CreateJobRequest) GetIndexFilePrefix() string { + if m != nil { + return m.IndexFilePrefix + } + return "" +} + +func (m *CreateJobRequest) GetBuildID() int64 { + if m != nil { + return m.BuildID + } + return 0 +} + +func (m *CreateJobRequest) GetDataPaths() []string { + if m != nil { + return m.DataPaths + } + return nil +} + +func (m *CreateJobRequest) GetIndexVersion() int64 { + if m != nil { + return m.IndexVersion + } + return 0 +} + +func (m *CreateJobRequest) GetIndexID() int64 { + if m != nil { + return m.IndexID + } + return 0 +} + +func (m *CreateJobRequest) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +func (m *CreateJobRequest) GetStorageConfig() *StorageConfig { + if m != nil { + return m.StorageConfig + } + return nil +} + +func (m *CreateJobRequest) GetIndexParams() []*commonpb.KeyValuePair { + if m != nil { + return m.IndexParams + } + return nil +} + +func (m *CreateJobRequest) GetTypeParams() []*commonpb.KeyValuePair { + if m != nil { + return m.TypeParams + } + return nil +} + +func (m *CreateJobRequest) GetNumRows() int64 { + if m != nil { + return m.NumRows + } + return 0 +} + +type QueryJobsRequest struct { + ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"` + BuildIDs []int64 `protobuf:"varint,2,rep,packed,name=buildIDs,proto3" json:"buildIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QueryJobsRequest) Reset() { *m = QueryJobsRequest{} } +func (m *QueryJobsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryJobsRequest) ProtoMessage() {} +func (*QueryJobsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{22} +} + +func (m *QueryJobsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QueryJobsRequest.Unmarshal(m, b) +} +func (m *QueryJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QueryJobsRequest.Marshal(b, m, deterministic) +} +func (m *QueryJobsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryJobsRequest.Merge(m, src) +} +func (m *QueryJobsRequest) XXX_Size() int { + return xxx_messageInfo_QueryJobsRequest.Size(m) +} +func (m *QueryJobsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryJobsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryJobsRequest proto.InternalMessageInfo + +func (m *QueryJobsRequest) GetClusterID() string { + if m != nil { + return m.ClusterID + } + return "" +} + +func (m *QueryJobsRequest) GetBuildIDs() []int64 { + if m != nil { + return m.BuildIDs + } + return nil +} + +type IndexTaskInfo struct { + BuildID int64 `protobuf:"varint,1,opt,name=buildID,proto3" json:"buildID,omitempty"` + State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` + IndexFileKeys []string `protobuf:"bytes,3,rep,name=index_file_keys,json=indexFileKeys,proto3" json:"index_file_keys,omitempty"` + SerializedSize uint64 `protobuf:"varint,4,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"` + FailReason string `protobuf:"bytes,5,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IndexTaskInfo) Reset() { *m = IndexTaskInfo{} } +func (m *IndexTaskInfo) String() string { return proto.CompactTextString(m) } +func (*IndexTaskInfo) ProtoMessage() {} +func (*IndexTaskInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{23} +} + +func (m *IndexTaskInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IndexTaskInfo.Unmarshal(m, b) +} +func (m *IndexTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IndexTaskInfo.Marshal(b, m, deterministic) +} +func (m *IndexTaskInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_IndexTaskInfo.Merge(m, src) +} +func (m *IndexTaskInfo) XXX_Size() int { + return xxx_messageInfo_IndexTaskInfo.Size(m) +} +func (m *IndexTaskInfo) XXX_DiscardUnknown() { + xxx_messageInfo_IndexTaskInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_IndexTaskInfo proto.InternalMessageInfo + +func (m *IndexTaskInfo) GetBuildID() int64 { + if m != nil { + return m.BuildID + } + return 0 +} + +func (m *IndexTaskInfo) GetState() commonpb.IndexState { + if m != nil { + return m.State + } + return commonpb.IndexState_IndexStateNone +} + +func (m *IndexTaskInfo) GetIndexFileKeys() []string { + if m != nil { + return m.IndexFileKeys + } + return nil +} + +func (m *IndexTaskInfo) GetSerializedSize() uint64 { + if m != nil { + return m.SerializedSize + } + return 0 +} + +func (m *IndexTaskInfo) GetFailReason() string { + if m != nil { + return m.FailReason + } + return "" +} + +type QueryJobsResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + ClusterID string `protobuf:"bytes,2,opt,name=clusterID,proto3" json:"clusterID,omitempty"` + IndexInfos []*IndexTaskInfo `protobuf:"bytes,3,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QueryJobsResponse) Reset() { *m = QueryJobsResponse{} } +func (m *QueryJobsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryJobsResponse) ProtoMessage() {} +func (*QueryJobsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{24} +} + +func (m *QueryJobsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QueryJobsResponse.Unmarshal(m, b) +} +func (m *QueryJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QueryJobsResponse.Marshal(b, m, deterministic) +} +func (m *QueryJobsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryJobsResponse.Merge(m, src) +} +func (m *QueryJobsResponse) XXX_Size() int { + return xxx_messageInfo_QueryJobsResponse.Size(m) +} +func (m *QueryJobsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryJobsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryJobsResponse proto.InternalMessageInfo + +func (m *QueryJobsResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *QueryJobsResponse) GetClusterID() string { + if m != nil { + return m.ClusterID + } + return "" +} + +func (m *QueryJobsResponse) GetIndexInfos() []*IndexTaskInfo { + if m != nil { + return m.IndexInfos + } + return nil +} + +type DropJobsRequest struct { + ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"` + BuildIDs []int64 `protobuf:"varint,2,rep,packed,name=buildIDs,proto3" json:"buildIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DropJobsRequest) Reset() { *m = DropJobsRequest{} } +func (m *DropJobsRequest) String() string { return proto.CompactTextString(m) } +func (*DropJobsRequest) ProtoMessage() {} +func (*DropJobsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{25} +} + +func (m *DropJobsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DropJobsRequest.Unmarshal(m, b) +} +func (m *DropJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DropJobsRequest.Marshal(b, m, deterministic) +} +func (m *DropJobsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DropJobsRequest.Merge(m, src) +} +func (m *DropJobsRequest) XXX_Size() int { + return xxx_messageInfo_DropJobsRequest.Size(m) +} +func (m *DropJobsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DropJobsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DropJobsRequest proto.InternalMessageInfo + +func (m *DropJobsRequest) GetClusterID() string { + if m != nil { + return m.ClusterID + } + return "" +} + +func (m *DropJobsRequest) GetBuildIDs() []int64 { + if m != nil { + return m.BuildIDs + } + return nil +} + +type JobInfo struct { + NumRows int64 `protobuf:"varint,1,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` + Dim int64 `protobuf:"varint,2,opt,name=dim,proto3" json:"dim,omitempty"` + StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` + PodID int64 `protobuf:"varint,6,opt,name=podID,proto3" json:"podID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *JobInfo) Reset() { *m = JobInfo{} } +func (m *JobInfo) String() string { return proto.CompactTextString(m) } +func (*JobInfo) ProtoMessage() {} +func (*JobInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{26} +} + +func (m *JobInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_JobInfo.Unmarshal(m, b) +} +func (m *JobInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_JobInfo.Marshal(b, m, deterministic) +} +func (m *JobInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobInfo.Merge(m, src) +} +func (m *JobInfo) XXX_Size() int { + return xxx_messageInfo_JobInfo.Size(m) +} +func (m *JobInfo) XXX_DiscardUnknown() { + xxx_messageInfo_JobInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_JobInfo proto.InternalMessageInfo + +func (m *JobInfo) GetNumRows() int64 { + if m != nil { + return m.NumRows + } + return 0 +} + +func (m *JobInfo) GetDim() int64 { + if m != nil { + return m.Dim + } + return 0 +} + +func (m *JobInfo) GetStartTime() int64 { + if m != nil { + return m.StartTime + } + return 0 +} + +func (m *JobInfo) GetEndTime() int64 { + if m != nil { + return m.EndTime + } + return 0 +} + +func (m *JobInfo) GetIndexParams() []*commonpb.KeyValuePair { + if m != nil { + return m.IndexParams + } + return nil +} + +func (m *JobInfo) GetPodID() int64 { + if m != nil { + return m.PodID + } + return 0 +} + +type GetJobStatsRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetJobStatsRequest) Reset() { *m = GetJobStatsRequest{} } +func (m *GetJobStatsRequest) String() string { return proto.CompactTextString(m) } +func (*GetJobStatsRequest) ProtoMessage() {} +func (*GetJobStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{27} +} + +func (m *GetJobStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetJobStatsRequest.Unmarshal(m, b) +} +func (m *GetJobStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetJobStatsRequest.Marshal(b, m, deterministic) +} +func (m *GetJobStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetJobStatsRequest.Merge(m, src) +} +func (m *GetJobStatsRequest) XXX_Size() int { + return xxx_messageInfo_GetJobStatsRequest.Size(m) +} +func (m *GetJobStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetJobStatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetJobStatsRequest proto.InternalMessageInfo + +type GetJobStatsResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + TotalJobNum int64 `protobuf:"varint,2,opt,name=total_job_num,json=totalJobNum,proto3" json:"total_job_num,omitempty"` + InProgressJobNum int64 `protobuf:"varint,3,opt,name=in_progress_job_num,json=inProgressJobNum,proto3" json:"in_progress_job_num,omitempty"` + EnqueueJobNum int64 `protobuf:"varint,4,opt,name=enqueue_job_num,json=enqueueJobNum,proto3" json:"enqueue_job_num,omitempty"` + TaskSlots int64 `protobuf:"varint,5,opt,name=task_slots,json=taskSlots,proto3" json:"task_slots,omitempty"` + JobInfos []*JobInfo `protobuf:"bytes,6,rep,name=job_infos,json=jobInfos,proto3" json:"job_infos,omitempty"` + EnableDisk bool `protobuf:"varint,7,opt,name=enable_disk,json=enableDisk,proto3" json:"enable_disk,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetJobStatsResponse) Reset() { *m = GetJobStatsResponse{} } +func (m *GetJobStatsResponse) String() string { return proto.CompactTextString(m) } +func (*GetJobStatsResponse) ProtoMessage() {} +func (*GetJobStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f9e019eb3fda53c2, []int{28} +} + +func (m *GetJobStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetJobStatsResponse.Unmarshal(m, b) +} +func (m *GetJobStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetJobStatsResponse.Marshal(b, m, deterministic) +} +func (m *GetJobStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetJobStatsResponse.Merge(m, src) +} +func (m *GetJobStatsResponse) XXX_Size() int { + return xxx_messageInfo_GetJobStatsResponse.Size(m) +} +func (m *GetJobStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetJobStatsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetJobStatsResponse proto.InternalMessageInfo + +func (m *GetJobStatsResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *GetJobStatsResponse) GetTotalJobNum() int64 { + if m != nil { + return m.TotalJobNum + } + return 0 +} + +func (m *GetJobStatsResponse) GetInProgressJobNum() int64 { + if m != nil { + return m.InProgressJobNum + } + return 0 +} + +func (m *GetJobStatsResponse) GetEnqueueJobNum() int64 { + if m != nil { + return m.EnqueueJobNum + } + return 0 +} + +func (m *GetJobStatsResponse) GetTaskSlots() int64 { + if m != nil { + return m.TaskSlots + } + return 0 +} + +func (m *GetJobStatsResponse) GetJobInfos() []*JobInfo { + if m != nil { + return m.JobInfos + } + return nil +} + +func (m *GetJobStatsResponse) GetEnableDisk() bool { + if m != nil { + return m.EnableDisk + } + return false +} + +func init() { + proto.RegisterType((*IndexInfo)(nil), "milvus.proto.index.IndexInfo") + proto.RegisterType((*FieldIndex)(nil), "milvus.proto.index.FieldIndex") + proto.RegisterType((*SegmentIndex)(nil), "milvus.proto.index.SegmentIndex") + proto.RegisterType((*RegisterNodeRequest)(nil), "milvus.proto.index.RegisterNodeRequest") + proto.RegisterType((*RegisterNodeResponse)(nil), "milvus.proto.index.RegisterNodeResponse") + proto.RegisterType((*GetIndexStateRequest)(nil), "milvus.proto.index.GetIndexStateRequest") + proto.RegisterType((*GetIndexStateResponse)(nil), "milvus.proto.index.GetIndexStateResponse") + proto.RegisterType((*GetSegmentIndexStateRequest)(nil), "milvus.proto.index.GetSegmentIndexStateRequest") + proto.RegisterType((*SegmentIndexState)(nil), "milvus.proto.index.SegmentIndexState") + proto.RegisterType((*GetSegmentIndexStateResponse)(nil), "milvus.proto.index.GetSegmentIndexStateResponse") + proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.index.CreateIndexRequest") + proto.RegisterType((*GetIndexInfoRequest)(nil), "milvus.proto.index.GetIndexInfoRequest") + proto.RegisterType((*IndexFilePathInfo)(nil), "milvus.proto.index.IndexFilePathInfo") + proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.index.SegmentInfo") + proto.RegisterType((*GetIndexInfoResponse)(nil), "milvus.proto.index.GetIndexInfoResponse") + proto.RegisterMapType((map[int64]*SegmentInfo)(nil), "milvus.proto.index.GetIndexInfoResponse.SegmentInfoEntry") + proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.index.DropIndexRequest") + proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.index.DescribeIndexRequest") + proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.index.DescribeIndexResponse") + proto.RegisterType((*GetIndexBuildProgressRequest)(nil), "milvus.proto.index.GetIndexBuildProgressRequest") + proto.RegisterType((*GetIndexBuildProgressResponse)(nil), "milvus.proto.index.GetIndexBuildProgressResponse") + proto.RegisterType((*StorageConfig)(nil), "milvus.proto.index.StorageConfig") + proto.RegisterType((*CreateJobRequest)(nil), "milvus.proto.index.CreateJobRequest") + proto.RegisterType((*QueryJobsRequest)(nil), "milvus.proto.index.QueryJobsRequest") + proto.RegisterType((*IndexTaskInfo)(nil), "milvus.proto.index.IndexTaskInfo") + proto.RegisterType((*QueryJobsResponse)(nil), "milvus.proto.index.QueryJobsResponse") + proto.RegisterType((*DropJobsRequest)(nil), "milvus.proto.index.DropJobsRequest") + proto.RegisterType((*JobInfo)(nil), "milvus.proto.index.JobInfo") + proto.RegisterType((*GetJobStatsRequest)(nil), "milvus.proto.index.GetJobStatsRequest") + proto.RegisterType((*GetJobStatsResponse)(nil), "milvus.proto.index.GetJobStatsResponse") +} + +func init() { proto.RegisterFile("index_coord.proto", fileDescriptor_f9e019eb3fda53c2) } + +var fileDescriptor_f9e019eb3fda53c2 = []byte{ + // 2184 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0xcd, 0x8e, 0xdb, 0xc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xde, 0x34, 0xda, 0x35, + 0xd7, 0x26, 0x6c, 0x27, 0xe6, 0x54, 0x6e, 0x83, 0x9e, 0xc3, 0x46, 0xcc, 0x70, 0xd4, 0xcb, 0x99, + 0xa7, 0xbe, 0xa8, 0x79, 0xd6, 0xc4, 0xdc, 0xce, 0xc4, 0x44, 0xce, 0x97, 0x06, 0xc0, 0x23, 0xe9, + 0x71, 0xb9, 0xfa, 0x8f, 0x12, 0xa7, 0x93, 0x70, 0x48, 0x25, 0x60, 0xec, 0xed, 0x1b, 0x5b, 0xd3, + 0xa8, 0xdc, 0x4a, 0x51, 0xa6, 0x31, 0x21, 0x01, 0xd7, 0x84, 0x15, 0x1f, 0x07, 0x98, 0x63, 0x5f, + 0x82, 0xa9, 0xe6, 0x26, 0x43, 0x74, 0x13, 0xec, 0x41, 0x84, 0x85, 0x2d, 0x38, 0xd1, 0x68, 0xaa, + 0xba, 0xa0, 0x44, 0x2f, 0xc9, 0x08, 0x3b, 0x5f, 0x56, 0xa1, 0xde, 0xc5, 0x07, 0x23, 0x1c, 0x72, + 0x75, 0x92, 0x45, 0xc0, 0xbb, 0x09, 0xf6, 0xd8, 0x8b, 0x38, 0xd1, 0x2a, 0x0a, 0xc0, 0x59, 0x11, + 0xba, 0x0e, 0x16, 0xd3, 0xab, 0xee, 0xc9, 0x5d, 0x4d, 0x77, 0x22, 0x40, 0x57, 0xa1, 0x16, 0xc6, + 0x23, 0xe5, 0x7a, 0x0d, 0xe2, 0x30, 0x1e, 0x49, 0xc7, 0x67, 0xe0, 0xbd, 0x94, 0x87, 0x77, 0x13, + 0x56, 0xfa, 0x31, 0x91, 0x11, 0xb3, 0xac, 0xbe, 0xe8, 0x21, 0xfa, 0x3f, 0x58, 0x0e, 0xa9, 0x8f, + 0x3b, 0x7b, 0x1a, 0x68, 0x7a, 0x84, 0x6e, 0x43, 0x43, 0x19, 0xf5, 0x35, 0x8e, 0x18, 0xa1, 0xa1, + 0x86, 0x99, 0xc2, 0xe6, 0x67,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, 0x29, 0xdc, 0x91, 0x0f, 0x85, 0x4a, 0x31, 0x14, 0xe6, 0x38, 0xc5, 0xf9, 0x57, 0x05, 0x36, + 0x3a, 0x49, 0xcd, 0xd9, 0xf7, 0xf8, 0xa1, 0xe4, 0x0c, 0x27, 0x47, 0xca, 0x6c, 0x04, 0x64, 0x0a, + 0xb4, 0x39, 0xb3, 0x40, 0x57, 0xf3, 0x05, 0x3a, 0x7f, 0xc0, 0xa5, 0x22, 0x6a, 0x2e, 0x86, 0x74, + 0xb6, 0x61, 0x3d, 0x53, 0x70, 0xc7, 0x1e, 0x3f, 0x14, 0xc4, 0x53, 0x54, 0xdc, 0x55, 0x92, 0xbd, + 0x3d, 0x43, 0xf7, 0x60, 0x2d, 0xad, 0x90, 0xbe, 0x2a, 0x9c, 0x35, 0x89, 0x90, 0x49, 0x39, 0xf5, + 0x93, 0xca, 0x99, 0x27, 0x10, 0x56, 0x09, 0x81, 0xc8, 0x92, 0x19, 0xc8, 0x91, 0x19, 0xe7, 0xaf, + 0x06, 0xd8, 0x69, 0x80, 0x2e, 0xd8, 0x18, 0xe4, 0xfc, 0x52, 0x29, 0xfa, 0xe5, 0x16, 0xd4, 0x71, + 0xe8, 0xf5, 0x03, 0xac, 0x71, 0x6b, 0x2a, 0xdc, 0x2a, 0x99, 0xc2, 0xed, 0x23, 0xb0, 0x27, 0x54, + 0x32, 0x89, 0xc1, 0x3b, 0x33, 0xb9, 0x64, 0x16, 0x14, 0x2e, 0xa4, 0x9c, 0x92, 0x39, 0x5f, 0x55, + 0x26, 0x65, 0x4e, 0x21, 0xf6, 0x3c, 0xc9, 0xec, 0xe7, 0x50, 0xd7, 0xb7, 0x50, 0x14, 0x57, 0xa5, + 0xb4, 0x1f, 0x94, 0x1d, 0xab, 0x6c, 0xd3, 0xad, 0x8c, 0x19, 0x3f, 0x09, 0x79, 0x74, 0xec, 0xda, + 0x6c, 0x22, 0x69, 0xf5, 0x60, 0xbd, 0xa8, 0x80, 0xd6, 0xc1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01, 0x2b, 0x86, 0xd5, 0x24, 0x61, 0x68, 0x85, + 0x64, 0xab, 0x7b, 0x73, 0xf5, 0xd2, 0x0d, 0xfa, 0x60, 0xef, 0x1e, 0xe2, 0xc1, 0xd1, 0x13, 0xec, + 0x05, 0xfc, 0x10, 0x95, 0xcf, 0xcc, 0x68, 0xcc, 0xc0, 0x5e, 0x99, 0x62, 0xb2, 0xc7, 0xf6, 0x37, + 0xcb, 0xfa, 0x1f, 0xcc, 0x17, 0xd4, 0xc7, 0xff, 0xfd, 0xb9, 0x70, 0x1f, 0xac, 0xb4, 0x47, 0x28, + 0x0f, 0xb5, 0x62, 0x0b, 0x31, 0x2f, 0xd4, 0x3e, 0x07, 0x2b, 0x65, 0x5b, 0xe5, 0x2b, 0x16, 0x09, + 0x6b, 0xeb, 0xce, 0x1c, 0xad, 0xf4, 0xb4, 0x2f, 0xa0, 0x96, 0xb0, 0x23, 0x74, 0x7b, 0x56, 0x5e, + 0xc8, 0xae, 0x3c, 0xe7, 0xac, 0xbf, 0x00, 0x3b, 0x43, 0x1d, 0xca, 0x2b, 0xc1, 0x34, 0xe5, 0x68, + 0xdd, 0x9b, 0xab, 0xf7, 0xbf, 0x11, 0x90, 0x0f, 0xbf, 0xf7, 0xf9, 0xf6, 0x01, 0xe1, 0x87, 0x71, + 0x5f, 0x58, 0xf6, 0xbe, 0xd2, 0xfc, 0x80, 0x50, 0xfd, 0xeb, 0x7e, 0x72, 0xca, 0xfb, 0x72, 0xa5, + 0xfb, 0xd2, 0x4e, 0xe3, 0x7e, 0x7f, 0x59, 0x0e, 0x3f, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x34, 0xde, 0x9f, 0x9a, 0x80, 0x20, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// IndexCoordClient is the client API for IndexCoord service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type IndexCoordClient interface { + GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) + GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) + CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + // Deprecated: use DescribeIndex instead + GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) + GetSegmentIndexState(ctx context.Context, in *GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*GetSegmentIndexStateResponse, error) + GetIndexInfos(ctx context.Context, in *GetIndexInfoRequest, opts ...grpc.CallOption) (*GetIndexInfoResponse, error) + DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) + // Deprecated: use DescribeIndex instead + GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error) + ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) + // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy + GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) + CheckHealth(ctx context.Context, in *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error) +} + +type indexCoordClient struct { + cc *grpc.ClientConn +} + +func NewIndexCoordClient(cc *grpc.ClientConn) IndexCoordClient { + return &indexCoordClient{cc} +} + +func (c *indexCoordClient) GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) { + out := new(milvuspb.ComponentStates) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetComponentStates", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) { + out := new(milvuspb.StringResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetStatisticsChannel", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/CreateIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) { + out := new(GetIndexStateResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetIndexState", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) GetSegmentIndexState(ctx context.Context, in *GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*GetSegmentIndexStateResponse, error) { + out := new(GetSegmentIndexStateResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetSegmentIndexState", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) GetIndexInfos(ctx context.Context, in *GetIndexInfoRequest, opts ...grpc.CallOption) (*GetIndexInfoResponse, error) { + out := new(GetIndexInfoResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetIndexInfos", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/DropIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) { + out := new(DescribeIndexResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/DescribeIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error) { + out := new(GetIndexBuildProgressResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetIndexBuildProgress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) { + out := new(internalpb.ShowConfigurationsResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/ShowConfigurations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) { + out := new(milvuspb.GetMetricsResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetMetrics", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexCoordClient) CheckHealth(ctx context.Context, in *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error) { + out := new(milvuspb.CheckHealthResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/CheckHealth", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// IndexCoordServer is the server API for IndexCoord service. +type IndexCoordServer interface { + GetComponentStates(context.Context, *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) + GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) + CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error) + // Deprecated: use DescribeIndex instead + GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error) + GetSegmentIndexState(context.Context, *GetSegmentIndexStateRequest) (*GetSegmentIndexStateResponse, error) + GetIndexInfos(context.Context, *GetIndexInfoRequest) (*GetIndexInfoResponse, error) + DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error) + DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error) + // Deprecated: use DescribeIndex instead + GetIndexBuildProgress(context.Context, *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) + ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) + // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy + GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) + CheckHealth(context.Context, *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) +} + +// UnimplementedIndexCoordServer can be embedded to have forward compatible implementations. +type UnimplementedIndexCoordServer struct { +} + +func (*UnimplementedIndexCoordServer) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented") +} +func (*UnimplementedIndexCoordServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented") +} +func (*UnimplementedIndexCoordServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") +} +func (*UnimplementedIndexCoordServer) GetIndexState(ctx context.Context, req *GetIndexStateRequest) (*GetIndexStateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented") +} +func (*UnimplementedIndexCoordServer) GetSegmentIndexState(ctx context.Context, req *GetSegmentIndexStateRequest) (*GetSegmentIndexStateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSegmentIndexState not implemented") +} +func (*UnimplementedIndexCoordServer) GetIndexInfos(ctx context.Context, req *GetIndexInfoRequest) (*GetIndexInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIndexInfos not implemented") +} +func (*UnimplementedIndexCoordServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented") +} +func (*UnimplementedIndexCoordServer) DescribeIndex(ctx context.Context, req *DescribeIndexRequest) (*DescribeIndexResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented") +} +func (*UnimplementedIndexCoordServer) GetIndexBuildProgress(ctx context.Context, req *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIndexBuildProgress not implemented") +} +func (*UnimplementedIndexCoordServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented") +} +func (*UnimplementedIndexCoordServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented") +} +func (*UnimplementedIndexCoordServer) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckHealth not implemented") +} + +func RegisterIndexCoordServer(s *grpc.Server, srv IndexCoordServer) { + s.RegisterService(&_IndexCoord_serviceDesc, srv) +} + +func _IndexCoord_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.GetComponentStatesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).GetComponentStates(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/GetComponentStates", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).GetComponentStates(ctx, req.(*milvuspb.GetComponentStatesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(internalpb.GetStatisticsChannelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).GetStatisticsChannel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/GetStatisticsChannel", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateIndexRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).CreateIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/CreateIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).CreateIndex(ctx, req.(*CreateIndexRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetIndexStateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).GetIndexState(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/GetIndexState", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).GetIndexState(ctx, req.(*GetIndexStateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_GetSegmentIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetSegmentIndexStateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).GetSegmentIndexState(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/GetSegmentIndexState", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).GetSegmentIndexState(ctx, req.(*GetSegmentIndexStateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_GetIndexInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetIndexInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).GetIndexInfos(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/GetIndexInfos", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).GetIndexInfos(ctx, req.(*GetIndexInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DropIndexRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).DropIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/DropIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).DropIndex(ctx, req.(*DropIndexRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DescribeIndexRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).DescribeIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/DescribeIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).DescribeIndex(ctx, req.(*DescribeIndexRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_GetIndexBuildProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetIndexBuildProgressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).GetIndexBuildProgress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/GetIndexBuildProgress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).GetIndexBuildProgress(ctx, req.(*GetIndexBuildProgressRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(internalpb.ShowConfigurationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).ShowConfigurations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/ShowConfigurations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.GetMetricsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).GetMetrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/GetMetrics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexCoord_CheckHealth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.CheckHealthRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexCoordServer).CheckHealth(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexCoord/CheckHealth", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexCoordServer).CheckHealth(ctx, req.(*milvuspb.CheckHealthRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _IndexCoord_serviceDesc = grpc.ServiceDesc{ + ServiceName: "milvus.proto.index.IndexCoord", + HandlerType: (*IndexCoordServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetComponentStates", + Handler: _IndexCoord_GetComponentStates_Handler, + }, + { + MethodName: "GetStatisticsChannel", + Handler: _IndexCoord_GetStatisticsChannel_Handler, + }, + { + MethodName: "CreateIndex", + Handler: _IndexCoord_CreateIndex_Handler, + }, + { + MethodName: "GetIndexState", + Handler: _IndexCoord_GetIndexState_Handler, + }, + { + MethodName: "GetSegmentIndexState", + Handler: _IndexCoord_GetSegmentIndexState_Handler, + }, + { + MethodName: "GetIndexInfos", + Handler: _IndexCoord_GetIndexInfos_Handler, + }, + { + MethodName: "DropIndex", + Handler: _IndexCoord_DropIndex_Handler, + }, + { + MethodName: "DescribeIndex", + Handler: _IndexCoord_DescribeIndex_Handler, + }, + { + MethodName: "GetIndexBuildProgress", + Handler: _IndexCoord_GetIndexBuildProgress_Handler, + }, + { + MethodName: "ShowConfigurations", + Handler: _IndexCoord_ShowConfigurations_Handler, + }, + { + MethodName: "GetMetrics", + Handler: _IndexCoord_GetMetrics_Handler, + }, + { + MethodName: "CheckHealth", + Handler: _IndexCoord_CheckHealth_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "index_coord.proto", +} + +// IndexNodeClient is the client API for IndexNode service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type IndexNodeClient interface { + GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) + GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) + CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + QueryJobs(ctx context.Context, in *QueryJobsRequest, opts ...grpc.CallOption) (*QueryJobsResponse, error) + DropJobs(ctx context.Context, in *DropJobsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + GetJobStats(ctx context.Context, in *GetJobStatsRequest, opts ...grpc.CallOption) (*GetJobStatsResponse, error) + ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) + // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy + GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) +} + +type indexNodeClient struct { + cc *grpc.ClientConn +} + +func NewIndexNodeClient(cc *grpc.ClientConn) IndexNodeClient { + return &indexNodeClient{cc} +} + +func (c *indexNodeClient) GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) { + out := new(milvuspb.ComponentStates) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetComponentStates", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexNodeClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) { + out := new(milvuspb.StringResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetStatisticsChannel", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexNodeClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/CreateJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexNodeClient) QueryJobs(ctx context.Context, in *QueryJobsRequest, opts ...grpc.CallOption) (*QueryJobsResponse, error) { + out := new(QueryJobsResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/QueryJobs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexNodeClient) DropJobs(ctx context.Context, in *DropJobsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/DropJobs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexNodeClient) GetJobStats(ctx context.Context, in *GetJobStatsRequest, opts ...grpc.CallOption) (*GetJobStatsResponse, error) { + out := new(GetJobStatsResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetJobStats", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexNodeClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) { + out := new(internalpb.ShowConfigurationsResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/ShowConfigurations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *indexNodeClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) { + out := new(milvuspb.GetMetricsResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetMetrics", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// IndexNodeServer is the server API for IndexNode service. +type IndexNodeServer interface { + GetComponentStates(context.Context, *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) + GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) + CreateJob(context.Context, *CreateJobRequest) (*commonpb.Status, error) + QueryJobs(context.Context, *QueryJobsRequest) (*QueryJobsResponse, error) + DropJobs(context.Context, *DropJobsRequest) (*commonpb.Status, error) + GetJobStats(context.Context, *GetJobStatsRequest) (*GetJobStatsResponse, error) + ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) + // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy + GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) +} + +// UnimplementedIndexNodeServer can be embedded to have forward compatible implementations. +type UnimplementedIndexNodeServer struct { +} + +func (*UnimplementedIndexNodeServer) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented") +} +func (*UnimplementedIndexNodeServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented") +} +func (*UnimplementedIndexNodeServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented") +} +func (*UnimplementedIndexNodeServer) QueryJobs(ctx context.Context, req *QueryJobsRequest) (*QueryJobsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method QueryJobs not implemented") +} +func (*UnimplementedIndexNodeServer) DropJobs(ctx context.Context, req *DropJobsRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method DropJobs not implemented") +} +func (*UnimplementedIndexNodeServer) GetJobStats(ctx context.Context, req *GetJobStatsRequest) (*GetJobStatsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetJobStats not implemented") +} +func (*UnimplementedIndexNodeServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented") +} +func (*UnimplementedIndexNodeServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented") +} + +func RegisterIndexNodeServer(s *grpc.Server, srv IndexNodeServer) { + s.RegisterService(&_IndexNode_serviceDesc, srv) +} + +func _IndexNode_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.GetComponentStatesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).GetComponentStates(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/GetComponentStates", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).GetComponentStates(ctx, req.(*milvuspb.GetComponentStatesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexNode_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(internalpb.GetStatisticsChannelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).GetStatisticsChannel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/GetStatisticsChannel", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexNode_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).CreateJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/CreateJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).CreateJob(ctx, req.(*CreateJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexNode_QueryJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryJobsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).QueryJobs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/QueryJobs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).QueryJobs(ctx, req.(*QueryJobsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexNode_DropJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DropJobsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).DropJobs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/DropJobs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).DropJobs(ctx, req.(*DropJobsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexNode_GetJobStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetJobStatsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).GetJobStats(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/GetJobStats", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).GetJobStats(ctx, req.(*GetJobStatsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexNode_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(internalpb.ShowConfigurationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).ShowConfigurations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/ShowConfigurations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IndexNode_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.GetMetricsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IndexNodeServer).GetMetrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.index.IndexNode/GetMetrics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IndexNodeServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _IndexNode_serviceDesc = grpc.ServiceDesc{ + ServiceName: "milvus.proto.index.IndexNode", + HandlerType: (*IndexNodeServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetComponentStates", + Handler: _IndexNode_GetComponentStates_Handler, + }, + { + MethodName: "GetStatisticsChannel", + Handler: _IndexNode_GetStatisticsChannel_Handler, + }, + { + MethodName: "CreateJob", + Handler: _IndexNode_CreateJob_Handler, + }, + { + MethodName: "QueryJobs", + Handler: _IndexNode_QueryJobs_Handler, + }, + { + MethodName: "DropJobs", + Handler: _IndexNode_DropJobs_Handler, + }, + { + MethodName: "GetJobStats", + Handler: _IndexNode_GetJobStats_Handler, + }, + { + MethodName: "ShowConfigurations", + Handler: _IndexNode_ShowConfigurations_Handler, + }, + { + MethodName: "GetMetrics", + Handler: _IndexNode_GetMetrics_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "index_coord.proto", +} diff --git a/internal/proto/indexpb/index_node.pb.go b/internal/proto/indexpb/index_node.pb.go deleted file mode 100644 index 654e1a39eb..0000000000 --- a/internal/proto/indexpb/index_node.pb.go +++ /dev/null @@ -1,1090 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: index_node.proto - -package indexpb - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - commonpb "github.com/milvus-io/milvus-proto/go-api/commonpb" - milvuspb "github.com/milvus-io/milvus-proto/go-api/milvuspb" - internalpb "github.com/milvus-io/milvus/internal/proto/internalpb" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -type StorageConfig struct { - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - AccessKeyID string `protobuf:"bytes,2,opt,name=access_keyID,json=accessKeyID,proto3" json:"access_keyID,omitempty"` - SecretAccessKey string `protobuf:"bytes,3,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"` - UseSSL bool `protobuf:"varint,4,opt,name=useSSL,proto3" json:"useSSL,omitempty"` - BucketName string `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - RootPath string `protobuf:"bytes,6,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` - UseIAM bool `protobuf:"varint,7,opt,name=useIAM,proto3" json:"useIAM,omitempty"` - IAMEndpoint string `protobuf:"bytes,8,opt,name=IAMEndpoint,proto3" json:"IAMEndpoint,omitempty"` - StorageType string `protobuf:"bytes,9,opt,name=storage_type,json=storageType,proto3" json:"storage_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StorageConfig) Reset() { *m = StorageConfig{} } -func (m *StorageConfig) String() string { return proto.CompactTextString(m) } -func (*StorageConfig) ProtoMessage() {} -func (*StorageConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{0} -} - -func (m *StorageConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StorageConfig.Unmarshal(m, b) -} -func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StorageConfig.Marshal(b, m, deterministic) -} -func (m *StorageConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageConfig.Merge(m, src) -} -func (m *StorageConfig) XXX_Size() int { - return xxx_messageInfo_StorageConfig.Size(m) -} -func (m *StorageConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StorageConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StorageConfig proto.InternalMessageInfo - -func (m *StorageConfig) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *StorageConfig) GetAccessKeyID() string { - if m != nil { - return m.AccessKeyID - } - return "" -} - -func (m *StorageConfig) GetSecretAccessKey() string { - if m != nil { - return m.SecretAccessKey - } - return "" -} - -func (m *StorageConfig) GetUseSSL() bool { - if m != nil { - return m.UseSSL - } - return false -} - -func (m *StorageConfig) GetBucketName() string { - if m != nil { - return m.BucketName - } - return "" -} - -func (m *StorageConfig) GetRootPath() string { - if m != nil { - return m.RootPath - } - return "" -} - -func (m *StorageConfig) GetUseIAM() bool { - if m != nil { - return m.UseIAM - } - return false -} - -func (m *StorageConfig) GetIAMEndpoint() string { - if m != nil { - return m.IAMEndpoint - } - return "" -} - -func (m *StorageConfig) GetStorageType() string { - if m != nil { - return m.StorageType - } - return "" -} - -type CreateJobRequest struct { - ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"` - IndexFilePrefix string `protobuf:"bytes,2,opt,name=index_file_prefix,json=indexFilePrefix,proto3" json:"index_file_prefix,omitempty"` - BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"` - DataPaths []string `protobuf:"bytes,4,rep,name=data_paths,json=dataPaths,proto3" json:"data_paths,omitempty"` - IndexVersion int64 `protobuf:"varint,5,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"` - IndexID int64 `protobuf:"varint,6,opt,name=indexID,proto3" json:"indexID,omitempty"` - IndexName string `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` - StorageConfig *StorageConfig `protobuf:"bytes,8,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"` - IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,9,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` - TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,10,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` - NumRows int64 `protobuf:"varint,11,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} } -func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) } -func (*CreateJobRequest) ProtoMessage() {} -func (*CreateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{1} -} - -func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b) -} -func (m *CreateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateJobRequest.Marshal(b, m, deterministic) -} -func (m *CreateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateJobRequest.Merge(m, src) -} -func (m *CreateJobRequest) XXX_Size() int { - return xxx_messageInfo_CreateJobRequest.Size(m) -} -func (m *CreateJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateJobRequest proto.InternalMessageInfo - -func (m *CreateJobRequest) GetClusterID() string { - if m != nil { - return m.ClusterID - } - return "" -} - -func (m *CreateJobRequest) GetIndexFilePrefix() string { - if m != nil { - return m.IndexFilePrefix - } - return "" -} - -func (m *CreateJobRequest) GetBuildID() int64 { - if m != nil { - return m.BuildID - } - return 0 -} - -func (m *CreateJobRequest) GetDataPaths() []string { - if m != nil { - return m.DataPaths - } - return nil -} - -func (m *CreateJobRequest) GetIndexVersion() int64 { - if m != nil { - return m.IndexVersion - } - return 0 -} - -func (m *CreateJobRequest) GetIndexID() int64 { - if m != nil { - return m.IndexID - } - return 0 -} - -func (m *CreateJobRequest) GetIndexName() string { - if m != nil { - return m.IndexName - } - return "" -} - -func (m *CreateJobRequest) GetStorageConfig() *StorageConfig { - if m != nil { - return m.StorageConfig - } - return nil -} - -func (m *CreateJobRequest) GetIndexParams() []*commonpb.KeyValuePair { - if m != nil { - return m.IndexParams - } - return nil -} - -func (m *CreateJobRequest) GetTypeParams() []*commonpb.KeyValuePair { - if m != nil { - return m.TypeParams - } - return nil -} - -func (m *CreateJobRequest) GetNumRows() int64 { - if m != nil { - return m.NumRows - } - return 0 -} - -type QueryJobsRequest struct { - ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"` - BuildIDs []int64 `protobuf:"varint,2,rep,packed,name=buildIDs,proto3" json:"buildIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryJobsRequest) Reset() { *m = QueryJobsRequest{} } -func (m *QueryJobsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryJobsRequest) ProtoMessage() {} -func (*QueryJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{2} -} - -func (m *QueryJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryJobsRequest.Unmarshal(m, b) -} -func (m *QueryJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryJobsRequest.Marshal(b, m, deterministic) -} -func (m *QueryJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryJobsRequest.Merge(m, src) -} -func (m *QueryJobsRequest) XXX_Size() int { - return xxx_messageInfo_QueryJobsRequest.Size(m) -} -func (m *QueryJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryJobsRequest proto.InternalMessageInfo - -func (m *QueryJobsRequest) GetClusterID() string { - if m != nil { - return m.ClusterID - } - return "" -} - -func (m *QueryJobsRequest) GetBuildIDs() []int64 { - if m != nil { - return m.BuildIDs - } - return nil -} - -type IndexTaskInfo struct { - BuildID int64 `protobuf:"varint,1,opt,name=buildID,proto3" json:"buildID,omitempty"` - State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` - IndexFileKeys []string `protobuf:"bytes,3,rep,name=index_file_keys,json=indexFileKeys,proto3" json:"index_file_keys,omitempty"` - SerializedSize uint64 `protobuf:"varint,4,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"` - FailReason string `protobuf:"bytes,5,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *IndexTaskInfo) Reset() { *m = IndexTaskInfo{} } -func (m *IndexTaskInfo) String() string { return proto.CompactTextString(m) } -func (*IndexTaskInfo) ProtoMessage() {} -func (*IndexTaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{3} -} - -func (m *IndexTaskInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IndexTaskInfo.Unmarshal(m, b) -} -func (m *IndexTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IndexTaskInfo.Marshal(b, m, deterministic) -} -func (m *IndexTaskInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexTaskInfo.Merge(m, src) -} -func (m *IndexTaskInfo) XXX_Size() int { - return xxx_messageInfo_IndexTaskInfo.Size(m) -} -func (m *IndexTaskInfo) XXX_DiscardUnknown() { - xxx_messageInfo_IndexTaskInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_IndexTaskInfo proto.InternalMessageInfo - -func (m *IndexTaskInfo) GetBuildID() int64 { - if m != nil { - return m.BuildID - } - return 0 -} - -func (m *IndexTaskInfo) GetState() commonpb.IndexState { - if m != nil { - return m.State - } - return commonpb.IndexState_IndexStateNone -} - -func (m *IndexTaskInfo) GetIndexFileKeys() []string { - if m != nil { - return m.IndexFileKeys - } - return nil -} - -func (m *IndexTaskInfo) GetSerializedSize() uint64 { - if m != nil { - return m.SerializedSize - } - return 0 -} - -func (m *IndexTaskInfo) GetFailReason() string { - if m != nil { - return m.FailReason - } - return "" -} - -type QueryJobsResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - ClusterID string `protobuf:"bytes,2,opt,name=clusterID,proto3" json:"clusterID,omitempty"` - IndexInfos []*IndexTaskInfo `protobuf:"bytes,3,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryJobsResponse) Reset() { *m = QueryJobsResponse{} } -func (m *QueryJobsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryJobsResponse) ProtoMessage() {} -func (*QueryJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{4} -} - -func (m *QueryJobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryJobsResponse.Unmarshal(m, b) -} -func (m *QueryJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryJobsResponse.Marshal(b, m, deterministic) -} -func (m *QueryJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryJobsResponse.Merge(m, src) -} -func (m *QueryJobsResponse) XXX_Size() int { - return xxx_messageInfo_QueryJobsResponse.Size(m) -} -func (m *QueryJobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryJobsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryJobsResponse proto.InternalMessageInfo - -func (m *QueryJobsResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *QueryJobsResponse) GetClusterID() string { - if m != nil { - return m.ClusterID - } - return "" -} - -func (m *QueryJobsResponse) GetIndexInfos() []*IndexTaskInfo { - if m != nil { - return m.IndexInfos - } - return nil -} - -type DropJobsRequest struct { - ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"` - BuildIDs []int64 `protobuf:"varint,2,rep,packed,name=buildIDs,proto3" json:"buildIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DropJobsRequest) Reset() { *m = DropJobsRequest{} } -func (m *DropJobsRequest) String() string { return proto.CompactTextString(m) } -func (*DropJobsRequest) ProtoMessage() {} -func (*DropJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{5} -} - -func (m *DropJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropJobsRequest.Unmarshal(m, b) -} -func (m *DropJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropJobsRequest.Marshal(b, m, deterministic) -} -func (m *DropJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropJobsRequest.Merge(m, src) -} -func (m *DropJobsRequest) XXX_Size() int { - return xxx_messageInfo_DropJobsRequest.Size(m) -} -func (m *DropJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DropJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DropJobsRequest proto.InternalMessageInfo - -func (m *DropJobsRequest) GetClusterID() string { - if m != nil { - return m.ClusterID - } - return "" -} - -func (m *DropJobsRequest) GetBuildIDs() []int64 { - if m != nil { - return m.BuildIDs - } - return nil -} - -type JobInfo struct { - NumRows int64 `protobuf:"varint,1,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` - Dim int64 `protobuf:"varint,2,opt,name=dim,proto3" json:"dim,omitempty"` - StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` - PodID int64 `protobuf:"varint,6,opt,name=podID,proto3" json:"podID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobInfo) Reset() { *m = JobInfo{} } -func (m *JobInfo) String() string { return proto.CompactTextString(m) } -func (*JobInfo) ProtoMessage() {} -func (*JobInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{6} -} - -func (m *JobInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobInfo.Unmarshal(m, b) -} -func (m *JobInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobInfo.Marshal(b, m, deterministic) -} -func (m *JobInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobInfo.Merge(m, src) -} -func (m *JobInfo) XXX_Size() int { - return xxx_messageInfo_JobInfo.Size(m) -} -func (m *JobInfo) XXX_DiscardUnknown() { - xxx_messageInfo_JobInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_JobInfo proto.InternalMessageInfo - -func (m *JobInfo) GetNumRows() int64 { - if m != nil { - return m.NumRows - } - return 0 -} - -func (m *JobInfo) GetDim() int64 { - if m != nil { - return m.Dim - } - return 0 -} - -func (m *JobInfo) GetStartTime() int64 { - if m != nil { - return m.StartTime - } - return 0 -} - -func (m *JobInfo) GetEndTime() int64 { - if m != nil { - return m.EndTime - } - return 0 -} - -func (m *JobInfo) GetIndexParams() []*commonpb.KeyValuePair { - if m != nil { - return m.IndexParams - } - return nil -} - -func (m *JobInfo) GetPodID() int64 { - if m != nil { - return m.PodID - } - return 0 -} - -type GetJobStatsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetJobStatsRequest) Reset() { *m = GetJobStatsRequest{} } -func (m *GetJobStatsRequest) String() string { return proto.CompactTextString(m) } -func (*GetJobStatsRequest) ProtoMessage() {} -func (*GetJobStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{7} -} - -func (m *GetJobStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJobStatsRequest.Unmarshal(m, b) -} -func (m *GetJobStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJobStatsRequest.Marshal(b, m, deterministic) -} -func (m *GetJobStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobStatsRequest.Merge(m, src) -} -func (m *GetJobStatsRequest) XXX_Size() int { - return xxx_messageInfo_GetJobStatsRequest.Size(m) -} -func (m *GetJobStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetJobStatsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJobStatsRequest proto.InternalMessageInfo - -type GetJobStatsResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - TotalJobNum int64 `protobuf:"varint,2,opt,name=total_job_num,json=totalJobNum,proto3" json:"total_job_num,omitempty"` - InProgressJobNum int64 `protobuf:"varint,3,opt,name=in_progress_job_num,json=inProgressJobNum,proto3" json:"in_progress_job_num,omitempty"` - EnqueueJobNum int64 `protobuf:"varint,4,opt,name=enqueue_job_num,json=enqueueJobNum,proto3" json:"enqueue_job_num,omitempty"` - TaskSlots int64 `protobuf:"varint,5,opt,name=task_slots,json=taskSlots,proto3" json:"task_slots,omitempty"` - JobInfos []*JobInfo `protobuf:"bytes,6,rep,name=job_infos,json=jobInfos,proto3" json:"job_infos,omitempty"` - EnableDisk bool `protobuf:"varint,7,opt,name=enable_disk,json=enableDisk,proto3" json:"enable_disk,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetJobStatsResponse) Reset() { *m = GetJobStatsResponse{} } -func (m *GetJobStatsResponse) String() string { return proto.CompactTextString(m) } -func (*GetJobStatsResponse) ProtoMessage() {} -func (*GetJobStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c97d3c987a256af, []int{8} -} - -func (m *GetJobStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJobStatsResponse.Unmarshal(m, b) -} -func (m *GetJobStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJobStatsResponse.Marshal(b, m, deterministic) -} -func (m *GetJobStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobStatsResponse.Merge(m, src) -} -func (m *GetJobStatsResponse) XXX_Size() int { - return xxx_messageInfo_GetJobStatsResponse.Size(m) -} -func (m *GetJobStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetJobStatsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJobStatsResponse proto.InternalMessageInfo - -func (m *GetJobStatsResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *GetJobStatsResponse) GetTotalJobNum() int64 { - if m != nil { - return m.TotalJobNum - } - return 0 -} - -func (m *GetJobStatsResponse) GetInProgressJobNum() int64 { - if m != nil { - return m.InProgressJobNum - } - return 0 -} - -func (m *GetJobStatsResponse) GetEnqueueJobNum() int64 { - if m != nil { - return m.EnqueueJobNum - } - return 0 -} - -func (m *GetJobStatsResponse) GetTaskSlots() int64 { - if m != nil { - return m.TaskSlots - } - return 0 -} - -func (m *GetJobStatsResponse) GetJobInfos() []*JobInfo { - if m != nil { - return m.JobInfos - } - return nil -} - -func (m *GetJobStatsResponse) GetEnableDisk() bool { - if m != nil { - return m.EnableDisk - } - return false -} - -func init() { - proto.RegisterType((*StorageConfig)(nil), "milvus.proto.index.StorageConfig") - proto.RegisterType((*CreateJobRequest)(nil), "milvus.proto.index.CreateJobRequest") - proto.RegisterType((*QueryJobsRequest)(nil), "milvus.proto.index.QueryJobsRequest") - proto.RegisterType((*IndexTaskInfo)(nil), "milvus.proto.index.IndexTaskInfo") - proto.RegisterType((*QueryJobsResponse)(nil), "milvus.proto.index.QueryJobsResponse") - proto.RegisterType((*DropJobsRequest)(nil), "milvus.proto.index.DropJobsRequest") - proto.RegisterType((*JobInfo)(nil), "milvus.proto.index.JobInfo") - proto.RegisterType((*GetJobStatsRequest)(nil), "milvus.proto.index.GetJobStatsRequest") - proto.RegisterType((*GetJobStatsResponse)(nil), "milvus.proto.index.GetJobStatsResponse") -} - -func init() { proto.RegisterFile("index_node.proto", fileDescriptor_7c97d3c987a256af) } - -var fileDescriptor_7c97d3c987a256af = []byte{ - // 1125 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdb, 0x72, 0x13, 0x47, - 0x13, 0x46, 0x5e, 0x1f, 0xb4, 0x2d, 0xcb, 0x36, 0x03, 0xf5, 0xd7, 0xfe, 0x22, 0x14, 0x66, 0x21, - 0x40, 0xa5, 0x0a, 0x3b, 0x31, 0x49, 0x55, 0x6e, 0x8d, 0x95, 0x10, 0xd9, 0xd8, 0xe5, 0xac, 0x28, - 0x2e, 0xb8, 0xd9, 0xcc, 0x6a, 0xdb, 0xf6, 0xa0, 0xdd, 0x99, 0x65, 0x67, 0x16, 0x10, 0x79, 0x23, - 0xf2, 0x10, 0x79, 0x81, 0x5c, 0xe5, 0x11, 0xf2, 0x24, 0xa9, 0x39, 0xac, 0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0xce, 0xf5, 0x87, 0x66, 0xcc, 0xb4, 0x2a, 0x6d, 0x31, 0x7e, 0xea, 0x56, 0x1c, - 0xfd, 0x1e, 0x6c, 0x22, 0x7f, 0x55, 0x61, 0x85, 0x63, 0xaa, 0xd5, 0xac, 0xed, 0x60, 0xc7, 0xbb, - 0x09, 0xa0, 0xa8, 0x1c, 0xc6, 0x32, 0x13, 0x4a, 0xba, 0x37, 0xd1, 0xd7, 0x48, 0x5f, 0x03, 0xe4, - 0x5b, 0xf0, 0xf5, 0x76, 0x6b, 0xad, 0x55, 0xa3, 0xea, 0x8d, 0x45, 0xd6, 0x72, 0xfd, 0x8e, 0x9a, - 0x2f, 0xed, 0x0f, 0xa9, 0x07, 0x04, 0x39, 0x4d, 0x32, 0x8c, 0x53, 0x26, 0x87, 0xee, 0x4b, 0x03, - 0x16, 0xea, 0x32, 0x39, 0xdc, 0x7b, 0xbf, 0x0a, 0xbe, 0x71, 0xe4, 0x89, 0x48, 0x91, 0x64, 0x46, - 0xe5, 0x03, 0x91, 0x17, 0x82, 0x23, 0x57, 0x66, 0x78, 0x25, 0xd9, 0x99, 0x3e, 0xcb, 0x05, 0xf3, - 0x44, 0xd7, 0x95, 0xce, 0xdd, 0x85, 0xfc, 0x19, 0x72, 0x78, 0x85, 0xbc, 0x82, 0xeb, 0x4f, 0xd0, - 0x84, 0x4c, 0x2a, 0x36, 0x90, 0x07, 0x17, 0x94, 0x73, 0xcc, 0xc8, 0xde, 0x6c, 0x6d, 0xee, 0x6f, - 0xc1, 0x22, 0x72, 0x7d, 0xe6, 0x9d, 0x85, 0x67, 0xf6, 0x55, 0xc9, 0xf8, 0x79, 0x6d, 0x8b, 0xf0, - 0x0a, 0x39, 0x05, 0x7f, 0xfc, 0x59, 0x24, 0x77, 0x17, 0x69, 0x38, 0xfb, 0xd5, 0xec, 0xfc, 0x95, - 0x77, 0xc2, 0x2b, 0xe4, 0x05, 0xf8, 0xe3, 0x07, 0x66, 0x71, 0xc6, 0xd9, 0x37, 0xba, 0xf3, 0xf9, - 0x47, 0x58, 0xe3, 0xdb, 0x9e, 0x40, 0xb3, 0x7e, 0x10, 0xc8, 0x9d, 0x45, 0x9b, 0x66, 0x9e, 0x8b, - 0x8f, 0xdd, 0xf5, 0x27, 0x68, 0x4d, 0x4c, 0x0b, 0xb9, 0xb7, 0x28, 0xe5, 0xfc, 0x94, 0x75, 0xee, - 0x7f, 0x94, 0x37, 0xbe, 0xf1, 0xcf, 0x40, 0xfa, 0x17, 0xe2, 0x8d, 0xfd, 0x8a, 0x56, 0x25, 0x55, - 0x4c, 0x70, 0x49, 0xbe, 0xfc, 0x40, 0x43, 0xe7, 0xa9, 0xf5, 0x91, 0x5f, 0xfd, 0x8d, 0x1d, 0xe3, - 0xc3, 0x63, 0x80, 0x27, 0xa8, 0x8e, 0x51, 0x95, 0x6c, 0x30, 0x57, 0xdd, 0xa5, 0x6b, 0x1d, 0xe1, - 0x03, 0xd5, 0x2d, 0xe0, 0xd5, 0x07, 0x3c, 0xfe, 0xfa, 0xc5, 0xde, 0x39, 0x53, 0x17, 0x55, 0xa2, - 0x95, 0xdd, 0xb5, 0xcc, 0x87, 0x4c, 0xb8, 0x5f, 0xbb, 0xf5, 0x2d, 0x77, 0x4d, 0xa6, 0x5d, 0xa3, - 0x53, 0x91, 0x24, 0xab, 0x26, 0x7c, 0xf4, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x7b, 0x7f, - 0x79, 0x14, 0x0b, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// IndexNodeClient is the client API for IndexNode service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type IndexNodeClient interface { - GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) - GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) - CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*commonpb.Status, error) - QueryJobs(ctx context.Context, in *QueryJobsRequest, opts ...grpc.CallOption) (*QueryJobsResponse, error) - DropJobs(ctx context.Context, in *DropJobsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) - GetJobStats(ctx context.Context, in *GetJobStatsRequest, opts ...grpc.CallOption) (*GetJobStatsResponse, error) - ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) - // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy - GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) -} - -type indexNodeClient struct { - cc *grpc.ClientConn -} - -func NewIndexNodeClient(cc *grpc.ClientConn) IndexNodeClient { - return &indexNodeClient{cc} -} - -func (c *indexNodeClient) GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) { - out := new(milvuspb.ComponentStates) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetComponentStates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *indexNodeClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) { - out := new(milvuspb.StringResponse) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetStatisticsChannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *indexNodeClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { - out := new(commonpb.Status) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/CreateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *indexNodeClient) QueryJobs(ctx context.Context, in *QueryJobsRequest, opts ...grpc.CallOption) (*QueryJobsResponse, error) { - out := new(QueryJobsResponse) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/QueryJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *indexNodeClient) DropJobs(ctx context.Context, in *DropJobsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { - out := new(commonpb.Status) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/DropJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *indexNodeClient) GetJobStats(ctx context.Context, in *GetJobStatsRequest, opts ...grpc.CallOption) (*GetJobStatsResponse, error) { - out := new(GetJobStatsResponse) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetJobStats", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *indexNodeClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) { - out := new(internalpb.ShowConfigurationsResponse) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/ShowConfigurations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *indexNodeClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) { - out := new(milvuspb.GetMetricsResponse) - err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetMetrics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// IndexNodeServer is the server API for IndexNode service. -type IndexNodeServer interface { - GetComponentStates(context.Context, *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) - GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) - CreateJob(context.Context, *CreateJobRequest) (*commonpb.Status, error) - QueryJobs(context.Context, *QueryJobsRequest) (*QueryJobsResponse, error) - DropJobs(context.Context, *DropJobsRequest) (*commonpb.Status, error) - GetJobStats(context.Context, *GetJobStatsRequest) (*GetJobStatsResponse, error) - ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) - // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy - GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) -} - -// UnimplementedIndexNodeServer can be embedded to have forward compatible implementations. -type UnimplementedIndexNodeServer struct { -} - -func (*UnimplementedIndexNodeServer) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented") -} -func (*UnimplementedIndexNodeServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented") -} -func (*UnimplementedIndexNodeServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*commonpb.Status, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented") -} -func (*UnimplementedIndexNodeServer) QueryJobs(ctx context.Context, req *QueryJobsRequest) (*QueryJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method QueryJobs not implemented") -} -func (*UnimplementedIndexNodeServer) DropJobs(ctx context.Context, req *DropJobsRequest) (*commonpb.Status, error) { - return nil, status.Errorf(codes.Unimplemented, "method DropJobs not implemented") -} -func (*UnimplementedIndexNodeServer) GetJobStats(ctx context.Context, req *GetJobStatsRequest) (*GetJobStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetJobStats not implemented") -} -func (*UnimplementedIndexNodeServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented") -} -func (*UnimplementedIndexNodeServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented") -} - -func RegisterIndexNodeServer(s *grpc.Server, srv IndexNodeServer) { - s.RegisterService(&_IndexNode_serviceDesc, srv) -} - -func _IndexNode_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(milvuspb.GetComponentStatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).GetComponentStates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/GetComponentStates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).GetComponentStates(ctx, req.(*milvuspb.GetComponentStatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IndexNode_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(internalpb.GetStatisticsChannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).GetStatisticsChannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/GetStatisticsChannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IndexNode_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).CreateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/CreateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).CreateJob(ctx, req.(*CreateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IndexNode_QueryJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).QueryJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/QueryJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).QueryJobs(ctx, req.(*QueryJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IndexNode_DropJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DropJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).DropJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/DropJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).DropJobs(ctx, req.(*DropJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IndexNode_GetJobStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetJobStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).GetJobStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/GetJobStats", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).GetJobStats(ctx, req.(*GetJobStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IndexNode_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(internalpb.ShowConfigurationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).ShowConfigurations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/ShowConfigurations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IndexNode_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(milvuspb.GetMetricsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IndexNodeServer).GetMetrics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/milvus.proto.index.IndexNode/GetMetrics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IndexNodeServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _IndexNode_serviceDesc = grpc.ServiceDesc{ - ServiceName: "milvus.proto.index.IndexNode", - HandlerType: (*IndexNodeServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetComponentStates", - Handler: _IndexNode_GetComponentStates_Handler, - }, - { - MethodName: "GetStatisticsChannel", - Handler: _IndexNode_GetStatisticsChannel_Handler, - }, - { - MethodName: "CreateJob", - Handler: _IndexNode_CreateJob_Handler, - }, - { - MethodName: "QueryJobs", - Handler: _IndexNode_QueryJobs_Handler, - }, - { - MethodName: "DropJobs", - Handler: _IndexNode_DropJobs_Handler, - }, - { - MethodName: "GetJobStats", - Handler: _IndexNode_GetJobStats_Handler, - }, - { - MethodName: "ShowConfigurations", - Handler: _IndexNode_ShowConfigurations_Handler, - }, - { - MethodName: "GetMetrics", - Handler: _IndexNode_GetMetrics_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "index_node.proto", -} diff --git a/internal/proxy/data_coord_mock_test.go b/internal/proxy/data_coord_mock_test.go index ab68a6ef52..35248ef0fa 100644 --- a/internal/proxy/data_coord_mock_test.go +++ b/internal/proxy/data_coord_mock_test.go @@ -20,6 +20,8 @@ import ( "context" "sync/atomic" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus-proto/go-api/milvuspb" "github.com/milvus-io/milvus/internal/proto/datapb" @@ -40,8 +42,8 @@ type DataCoordMock struct { statisticsChannel string timeTickChannel string checkHealthFunc func(ctx context.Context, req *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) - GetIndexStateFunc func(ctx context.Context, request *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) - DescribeIndexFunc func(ctx context.Context, request *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) + GetIndexStateFunc func(ctx context.Context, request *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) + DescribeIndexFunc func(ctx context.Context, request *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) } func (coord *DataCoordMock) updateState(state commonpb.StateCode) { @@ -280,22 +282,22 @@ func (coord *DataCoordMock) UpdateChannelCheckpoint(ctx context.Context, req *da }, nil } -func (coord *DataCoordMock) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) { +func (coord *DataCoordMock) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) { return &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, Reason: "", }, nil } -func (coord *DataCoordMock) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { +func (coord *DataCoordMock) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, Reason: "", }, nil } -func (coord *DataCoordMock) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { - return &datapb.GetIndexStateResponse{ +func (coord *DataCoordMock) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { + return &indexpb.GetIndexStateResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, Reason: "", @@ -306,8 +308,8 @@ func (coord *DataCoordMock) GetIndexState(ctx context.Context, req *datapb.GetIn } // GetSegmentIndexState gets the index state of the segments in the request from RootCoord. -func (coord *DataCoordMock) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { - return &datapb.GetSegmentIndexStateResponse{ +func (coord *DataCoordMock) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { + return &indexpb.GetSegmentIndexStateResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, Reason: "", @@ -316,8 +318,8 @@ func (coord *DataCoordMock) GetSegmentIndexState(ctx context.Context, req *datap } // GetIndexInfos gets the index files of the IndexBuildIDs in the request from RootCoordinator. -func (coord *DataCoordMock) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) { - return &datapb.GetIndexInfoResponse{ +func (coord *DataCoordMock) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) { + return &indexpb.GetIndexInfoResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, Reason: "", @@ -326,8 +328,8 @@ func (coord *DataCoordMock) GetIndexInfos(ctx context.Context, req *datapb.GetIn } // DescribeIndex describe the index info of the collection. -func (coord *DataCoordMock) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { - return &datapb.DescribeIndexResponse{ +func (coord *DataCoordMock) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { + return &indexpb.DescribeIndexResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, @@ -336,8 +338,8 @@ func (coord *DataCoordMock) DescribeIndex(ctx context.Context, req *datapb.Descr } // GetIndexBuildProgress get the index building progress by num rows. -func (coord *DataCoordMock) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) { - return &datapb.GetIndexBuildProgressResponse{ +func (coord *DataCoordMock) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) { + return &indexpb.GetIndexBuildProgressResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, diff --git a/internal/proxy/task.go b/internal/proxy/task.go index cc6761087a..2d7cb15ce2 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -22,6 +22,8 @@ import ( "fmt" "math" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "go.uber.org/zap" "github.com/golang/protobuf/proto" @@ -1323,7 +1325,7 @@ func (lct *loadCollectionTask) Execute(ctx context.Context) (err error) { return err } // check index - indexResponse, err := lct.datacoord.DescribeIndex(ctx, &datapb.DescribeIndexRequest{ + indexResponse, err := lct.datacoord.DescribeIndex(ctx, &indexpb.DescribeIndexRequest{ CollectionID: collID, IndexName: "", }) @@ -1541,7 +1543,7 @@ func (lpt *loadPartitionsTask) Execute(ctx context.Context) error { return err } // check index - indexResponse, err := lpt.datacoord.DescribeIndex(ctx, &datapb.DescribeIndexRequest{ + indexResponse, err := lpt.datacoord.DescribeIndex(ctx, &indexpb.DescribeIndexRequest{ CollectionID: collID, IndexName: "", }) diff --git a/internal/proxy/task_index.go b/internal/proxy/task_index.go index a656ad983f..34c870855c 100644 --- a/internal/proxy/task_index.go +++ b/internal/proxy/task_index.go @@ -22,7 +22,7 @@ import ( "fmt" "strconv" - "github.com/milvus-io/milvus/internal/proto/datapb" + "github.com/milvus-io/milvus/internal/proto/indexpb" "go.uber.org/zap" @@ -303,7 +303,7 @@ func (cit *createIndexTask) Execute(ctx context.Context) error { cit.req.IndexName = Params.CommonCfg.DefaultIndexName.GetValue() + "_" + strconv.FormatInt(cit.fieldSchema.GetFieldID(), 10) } var err error - req := &datapb.CreateIndexRequest{ + req := &indexpb.CreateIndexRequest{ CollectionID: cit.collectionID, FieldID: cit.fieldSchema.GetFieldID(), IndexName: cit.req.GetIndexName(), @@ -402,7 +402,7 @@ func (dit *describeIndexTask) Execute(ctx context.Context) error { return fmt.Errorf("failed to parse collection schema: %s", err) } - resp, err := dit.datacoord.DescribeIndex(ctx, &datapb.DescribeIndexRequest{CollectionID: dit.collectionID, IndexName: dit.IndexName}) + resp, err := dit.datacoord.DescribeIndex(ctx, &indexpb.DescribeIndexRequest{CollectionID: dit.collectionID, IndexName: dit.IndexName}) if err != nil || resp == nil { return err } @@ -524,7 +524,7 @@ func (dit *dropIndexTask) PreExecute(ctx context.Context) error { func (dit *dropIndexTask) Execute(ctx context.Context) error { var err error - dit.result, err = dit.dataCoord.DropIndex(ctx, &datapb.DropIndexRequest{ + dit.result, err = dit.dataCoord.DropIndex(ctx, &indexpb.DropIndexRequest{ CollectionID: dit.collectionID, PartitionIDs: nil, IndexName: dit.IndexName, @@ -615,7 +615,7 @@ func (gibpt *getIndexBuildProgressTask) Execute(ctx context.Context) error { gibpt.IndexName = Params.CommonCfg.DefaultIndexName.GetValue() } - resp, err := gibpt.dataCoord.GetIndexBuildProgress(ctx, &datapb.GetIndexBuildProgressRequest{ + resp, err := gibpt.dataCoord.GetIndexBuildProgress(ctx, &indexpb.GetIndexBuildProgressRequest{ CollectionID: collectionID, IndexName: gibpt.IndexName, }) @@ -706,7 +706,7 @@ func (gist *getIndexStateTask) Execute(ctx context.Context) error { return err } - state, err := gist.dataCoord.GetIndexState(ctx, &datapb.GetIndexStateRequest{ + state, err := gist.dataCoord.GetIndexState(ctx, &indexpb.GetIndexStateRequest{ CollectionID: collectionID, IndexName: gist.IndexName, }) diff --git a/internal/proxy/task_index_test.go b/internal/proxy/task_index_test.go index 34fd407af3..f876856197 100644 --- a/internal/proxy/task_index_test.go +++ b/internal/proxy/task_index_test.go @@ -22,12 +22,13 @@ import ( "os" "testing" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus-proto/go-api/milvuspb" "github.com/milvus-io/milvus-proto/go-api/schemapb" - "github.com/milvus-io/milvus/internal/proto/datapb" "github.com/milvus-io/milvus/internal/proto/querypb" "github.com/milvus-io/milvus/internal/util/funcutil" "github.com/milvus-io/milvus/internal/util/paramtable" @@ -86,8 +87,8 @@ func TestGetIndexStateTask_Execute(t *testing.T) { }, nil } - datacoord.GetIndexStateFunc = func(ctx context.Context, request *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) { - return &datapb.GetIndexStateResponse{ + datacoord.GetIndexStateFunc = func(ctx context.Context, request *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) { + return &indexpb.GetIndexStateResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, diff --git a/internal/proxy/task_test.go b/internal/proxy/task_test.go index 4cc3ddae75..4ea647d63e 100644 --- a/internal/proxy/task_test.go +++ b/internal/proxy/task_test.go @@ -27,6 +27,8 @@ import ( "testing" "time" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/golang/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus-proto/go-api/milvuspb" @@ -35,7 +37,6 @@ import ( "github.com/milvus-io/milvus/internal/common" "github.com/milvus-io/milvus/internal/mocks" "github.com/milvus-io/milvus/internal/mq/msgstream" - "github.com/milvus-io/milvus/internal/proto/datapb" "github.com/milvus-io/milvus/internal/proto/internalpb" "github.com/milvus-io/milvus/internal/proto/querypb" "github.com/milvus-io/milvus/internal/util/distance" @@ -2398,8 +2399,8 @@ func Test_loadCollectionTask_Execute(t *testing.T) { }) t.Run("indexcoord describe index not success", func(t *testing.T) { - dc.DescribeIndexFunc = func(ctx context.Context, request *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { - return &datapb.DescribeIndexResponse{ + dc.DescribeIndexFunc = func(ctx context.Context, request *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { + return &indexpb.DescribeIndexResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_UnexpectedError, Reason: "fail reason", @@ -2412,12 +2413,12 @@ func Test_loadCollectionTask_Execute(t *testing.T) { }) t.Run("no vector index", func(t *testing.T) { - dc.DescribeIndexFunc = func(ctx context.Context, request *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { - return &datapb.DescribeIndexResponse{ + dc.DescribeIndexFunc = func(ctx context.Context, request *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { + return &indexpb.DescribeIndexResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, - IndexInfos: []*datapb.IndexInfo{ + IndexInfos: []*indexpb.IndexInfo{ { CollectionID: collectionID, FieldID: 100, @@ -2495,8 +2496,8 @@ func Test_loadPartitionTask_Execute(t *testing.T) { }) t.Run("indexcoord describe index not success", func(t *testing.T) { - dc.DescribeIndexFunc = func(ctx context.Context, request *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { - return &datapb.DescribeIndexResponse{ + dc.DescribeIndexFunc = func(ctx context.Context, request *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { + return &indexpb.DescribeIndexResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_UnexpectedError, Reason: "fail reason", @@ -2509,12 +2510,12 @@ func Test_loadPartitionTask_Execute(t *testing.T) { }) t.Run("no vector index", func(t *testing.T) { - dc.DescribeIndexFunc = func(ctx context.Context, request *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) { - return &datapb.DescribeIndexResponse{ + dc.DescribeIndexFunc = func(ctx context.Context, request *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) { + return &indexpb.DescribeIndexResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_Success, }, - IndexInfos: []*datapb.IndexInfo{ + IndexInfos: []*indexpb.IndexInfo{ { CollectionID: collectionID, FieldID: 100, diff --git a/internal/querycoordv2/meta/coordinator_broker.go b/internal/querycoordv2/meta/coordinator_broker.go index f128e463fd..386d63b20d 100644 --- a/internal/querycoordv2/meta/coordinator_broker.go +++ b/internal/querycoordv2/meta/coordinator_broker.go @@ -22,6 +22,8 @@ import ( "fmt" "time" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus-proto/go-api/milvuspb" "github.com/milvus-io/milvus-proto/go-api/schemapb" @@ -163,7 +165,7 @@ func (broker *CoordinatorBroker) GetIndexInfo(ctx context.Context, collectionID ctx, cancel := context.WithTimeout(ctx, brokerRPCTimeout) defer cancel() - resp, err := broker.dataCoord.GetIndexInfos(ctx, &datapb.GetIndexInfoRequest{ + resp, err := broker.dataCoord.GetIndexInfos(ctx, &indexpb.GetIndexInfoRequest{ CollectionID: collectionID, SegmentIDs: []int64{segmentID}, }) diff --git a/internal/rootcoord/broker.go b/internal/rootcoord/broker.go index 02dbe60fd6..afdb3a675c 100644 --- a/internal/rootcoord/broker.go +++ b/internal/rootcoord/broker.go @@ -5,20 +5,18 @@ import ( "errors" "fmt" - "github.com/milvus-io/milvus/internal/metastore/model" - "github.com/milvus-io/milvus/internal/util/typeutil" - - "github.com/milvus-io/milvus-proto/go-api/milvuspb" - - "github.com/milvus-io/milvus/internal/util/commonpbutil" - - "github.com/milvus-io/milvus/internal/proto/datapb" + "go.uber.org/zap" "github.com/milvus-io/milvus-proto/go-api/commonpb" + "github.com/milvus-io/milvus-proto/go-api/milvuspb" "github.com/milvus-io/milvus-proto/go-api/schemapb" "github.com/milvus-io/milvus/internal/log" + "github.com/milvus-io/milvus/internal/metastore/model" + "github.com/milvus-io/milvus/internal/proto/datapb" + "github.com/milvus-io/milvus/internal/proto/indexpb" "github.com/milvus-io/milvus/internal/proto/querypb" - "go.uber.org/zap" + "github.com/milvus-io/milvus/internal/util/commonpbutil" + "github.com/milvus-io/milvus/internal/util/typeutil" ) type watchInfo struct { @@ -44,8 +42,8 @@ type Broker interface { GetSegmentStates(context.Context, *datapb.GetSegmentStatesRequest) (*datapb.GetSegmentStatesResponse, error) DropCollectionIndex(ctx context.Context, collID UniqueID, partIDs []UniqueID) error - GetSegmentIndexState(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*datapb.SegmentIndexState, error) - DescribeIndex(ctx context.Context, colID UniqueID) (*datapb.DescribeIndexResponse, error) + GetSegmentIndexState(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*indexpb.SegmentIndexState, error) + DescribeIndex(ctx context.Context, colID UniqueID) (*indexpb.DescribeIndexResponse, error) BroadcastAlteredCollection(ctx context.Context, req *milvuspb.AlterCollectionRequest) error } @@ -164,7 +162,7 @@ func (b *ServerBroker) GetSegmentStates(ctx context.Context, req *datapb.GetSegm } func (b *ServerBroker) DropCollectionIndex(ctx context.Context, collID UniqueID, partIDs []UniqueID) error { - rsp, err := b.s.dataCoord.DropIndex(ctx, &datapb.DropIndexRequest{ + rsp, err := b.s.dataCoord.DropIndex(ctx, &indexpb.DropIndexRequest{ CollectionID: collID, PartitionIDs: partIDs, IndexName: "", @@ -179,8 +177,8 @@ func (b *ServerBroker) DropCollectionIndex(ctx context.Context, collID UniqueID, return nil } -func (b *ServerBroker) GetSegmentIndexState(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*datapb.SegmentIndexState, error) { - resp, err := b.s.dataCoord.GetSegmentIndexState(ctx, &datapb.GetSegmentIndexStateRequest{ +func (b *ServerBroker) GetSegmentIndexState(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*indexpb.SegmentIndexState, error) { + resp, err := b.s.dataCoord.GetSegmentIndexState(ctx, &indexpb.GetSegmentIndexStateRequest{ CollectionID: collID, IndexName: indexName, SegmentIDs: segIDs, @@ -232,8 +230,8 @@ func (b *ServerBroker) BroadcastAlteredCollection(ctx context.Context, req *milv return nil } -func (b *ServerBroker) DescribeIndex(ctx context.Context, colID UniqueID) (*datapb.DescribeIndexResponse, error) { - return b.s.dataCoord.DescribeIndex(ctx, &datapb.DescribeIndexRequest{ +func (b *ServerBroker) DescribeIndex(ctx context.Context, colID UniqueID) (*indexpb.DescribeIndexResponse, error) { + return b.s.dataCoord.DescribeIndex(ctx, &indexpb.DescribeIndexRequest{ CollectionID: colID, }) } diff --git a/internal/rootcoord/broker_test.go b/internal/rootcoord/broker_test.go index a158e4b6b7..6415929e87 100644 --- a/internal/rootcoord/broker_test.go +++ b/internal/rootcoord/broker_test.go @@ -5,6 +5,8 @@ import ( "errors" "testing" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/milvus-io/milvus/internal/metastore/model" "github.com/milvus-io/milvus-proto/go-api/milvuspb" @@ -207,10 +209,10 @@ func TestServerBroker_GetSegmentIndexState(t *testing.T) { t.Run("success", func(t *testing.T) { c := newTestCore(withValidDataCoord()) - c.dataCoord.(*mockDataCoord).GetSegmentIndexStateFunc = func(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { - return &datapb.GetSegmentIndexStateResponse{ + c.dataCoord.(*mockDataCoord).GetSegmentIndexStateFunc = func(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { + return &indexpb.GetSegmentIndexStateResponse{ Status: succStatus(), - States: []*datapb.SegmentIndexState{ + States: []*indexpb.SegmentIndexState{ { SegmentID: 1, State: commonpb.IndexState_Finished, diff --git a/internal/rootcoord/import_helper.go b/internal/rootcoord/import_helper.go index 75fb604dad..12a22a0869 100644 --- a/internal/rootcoord/import_helper.go +++ b/internal/rootcoord/import_helper.go @@ -3,6 +3,8 @@ package rootcoord import ( "context" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus/internal/log" "github.com/milvus-io/milvus/internal/proto/datapb" @@ -15,8 +17,8 @@ type IDAllocator func(count uint32) (UniqueID, UniqueID, error) type ImportFunc func(ctx context.Context, req *datapb.ImportTaskRequest) (*datapb.ImportTaskResponse, error) type MarkSegmentsDroppedFunc func(ctx context.Context, segIDs []int64) (*commonpb.Status, error) type GetSegmentStatesFunc func(ctx context.Context, req *datapb.GetSegmentStatesRequest) (*datapb.GetSegmentStatesResponse, error) -type DescribeIndexFunc func(ctx context.Context, colID UniqueID) (*datapb.DescribeIndexResponse, error) -type GetSegmentIndexStateFunc func(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*datapb.SegmentIndexState, error) +type DescribeIndexFunc func(ctx context.Context, colID UniqueID) (*indexpb.DescribeIndexResponse, error) +type GetSegmentIndexStateFunc func(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*indexpb.SegmentIndexState, error) type UnsetIsImportingStateFunc func(context.Context, *datapb.UnsetIsImportingStateRequest) (*commonpb.Status, error) type ImportFactory interface { @@ -114,13 +116,13 @@ func GetSegmentStatesWithCore(c *Core) GetSegmentStatesFunc { } func DescribeIndexWithCore(c *Core) DescribeIndexFunc { - return func(ctx context.Context, colID UniqueID) (*datapb.DescribeIndexResponse, error) { + return func(ctx context.Context, colID UniqueID) (*indexpb.DescribeIndexResponse, error) { return c.broker.DescribeIndex(ctx, colID) } } func GetSegmentIndexStateWithCore(c *Core) GetSegmentIndexStateFunc { - return func(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*datapb.SegmentIndexState, error) { + return func(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*indexpb.SegmentIndexState, error) { return c.broker.GetSegmentIndexState(ctx, collID, indexName, segIDs) } } diff --git a/internal/rootcoord/mock_test.go b/internal/rootcoord/mock_test.go index 4f0f179eb4..2f4eddf33b 100644 --- a/internal/rootcoord/mock_test.go +++ b/internal/rootcoord/mock_test.go @@ -6,6 +6,8 @@ import ( "math/rand" "os" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "github.com/milvus-io/milvus-proto/go-api/commonpb" "github.com/milvus-io/milvus-proto/go-api/milvuspb" "github.com/milvus-io/milvus/internal/allocator" @@ -157,14 +159,12 @@ type mockDataCoord struct { types.DataCoord GetComponentStatesFunc func(ctx context.Context) (*milvuspb.ComponentStates, error) WatchChannelsFunc func(ctx context.Context, req *datapb.WatchChannelsRequest) (*datapb.WatchChannelsResponse, error) - AcquireSegmentLockFunc func(ctx context.Context, req *datapb.AcquireSegmentLockRequest) (*commonpb.Status, error) - ReleaseSegmentLockFunc func(ctx context.Context, req *datapb.ReleaseSegmentLockRequest) (*commonpb.Status, error) FlushFunc func(ctx context.Context, req *datapb.FlushRequest) (*datapb.FlushResponse, error) ImportFunc func(ctx context.Context, req *datapb.ImportTaskRequest) (*datapb.ImportTaskResponse, error) UnsetIsImportingStateFunc func(ctx context.Context, req *datapb.UnsetIsImportingStateRequest) (*commonpb.Status, error) broadCastAlteredCollectionFunc func(ctx context.Context, req *datapb.AlterCollectionRequest) (*commonpb.Status, error) - GetSegmentIndexStateFunc func(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) - DropIndexFunc func(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) + GetSegmentIndexStateFunc func(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) + DropIndexFunc func(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) } func newMockDataCoord() *mockDataCoord { @@ -179,14 +179,6 @@ func (m *mockDataCoord) WatchChannels(ctx context.Context, req *datapb.WatchChan return m.WatchChannelsFunc(ctx, req) } -func (m *mockDataCoord) AcquireSegmentLock(ctx context.Context, req *datapb.AcquireSegmentLockRequest) (*commonpb.Status, error) { - return m.AcquireSegmentLockFunc(ctx, req) -} - -func (m *mockDataCoord) ReleaseSegmentLock(ctx context.Context, req *datapb.ReleaseSegmentLockRequest) (*commonpb.Status, error) { - return m.ReleaseSegmentLockFunc(ctx, req) -} - func (m *mockDataCoord) Flush(ctx context.Context, req *datapb.FlushRequest) (*datapb.FlushResponse, error) { return m.FlushFunc(ctx, req) } @@ -209,11 +201,11 @@ func (m *mockDataCoord) CheckHealth(ctx context.Context, req *milvuspb.CheckHeal }, nil } -func (m *mockDataCoord) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { +func (m *mockDataCoord) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { return m.GetSegmentIndexStateFunc(ctx, req) } -func (m *mockDataCoord) DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { +func (m *mockDataCoord) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return m.DropIndexFunc(ctx, req) } @@ -550,12 +542,6 @@ func withInvalidDataCoord() Opt { dc.WatchChannelsFunc = func(ctx context.Context, req *datapb.WatchChannelsRequest) (*datapb.WatchChannelsResponse, error) { return nil, errors.New("error mock WatchChannels") } - dc.AcquireSegmentLockFunc = func(ctx context.Context, req *datapb.AcquireSegmentLockRequest) (*commonpb.Status, error) { - return nil, errors.New("error mock AddSegRefLock") - } - dc.ReleaseSegmentLockFunc = func(ctx context.Context, req *datapb.ReleaseSegmentLockRequest) (*commonpb.Status, error) { - return nil, errors.New("error mock ReleaseSegRefLock") - } dc.FlushFunc = func(ctx context.Context, req *datapb.FlushRequest) (*datapb.FlushResponse, error) { return nil, errors.New("error mock Flush") } @@ -568,10 +554,10 @@ func withInvalidDataCoord() Opt { dc.broadCastAlteredCollectionFunc = func(ctx context.Context, req *datapb.AlterCollectionRequest) (*commonpb.Status, error) { return nil, errors.New("error mock broadCastAlteredCollection") } - dc.GetSegmentIndexStateFunc = func(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { + dc.GetSegmentIndexStateFunc = func(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { return nil, errors.New("error mock GetSegmentIndexStateFunc") } - dc.DropIndexFunc = func(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { + dc.DropIndexFunc = func(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return nil, errors.New("error mock DropIndexFunc") } return withDataCoord(dc) @@ -590,12 +576,6 @@ func withFailedDataCoord() Opt { Status: failStatus(commonpb.ErrorCode_UnexpectedError, "mock watch channels error"), }, nil } - dc.AcquireSegmentLockFunc = func(ctx context.Context, req *datapb.AcquireSegmentLockRequest) (*commonpb.Status, error) { - return failStatus(commonpb.ErrorCode_UnexpectedError, "mock add seg ref lock error"), nil - } - dc.ReleaseSegmentLockFunc = func(ctx context.Context, req *datapb.ReleaseSegmentLockRequest) (*commonpb.Status, error) { - return failStatus(commonpb.ErrorCode_UnexpectedError, "mock release seg ref lock error"), nil - } dc.FlushFunc = func(ctx context.Context, req *datapb.FlushRequest) (*datapb.FlushResponse, error) { return &datapb.FlushResponse{ Status: failStatus(commonpb.ErrorCode_UnexpectedError, "mock flush error"), @@ -615,12 +595,12 @@ func withFailedDataCoord() Opt { dc.broadCastAlteredCollectionFunc = func(ctx context.Context, req *datapb.AlterCollectionRequest) (*commonpb.Status, error) { return failStatus(commonpb.ErrorCode_UnexpectedError, "mock broadcast altered collection error"), nil } - dc.GetSegmentIndexStateFunc = func(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { - return &datapb.GetSegmentIndexStateResponse{ + dc.GetSegmentIndexStateFunc = func(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { + return &indexpb.GetSegmentIndexStateResponse{ Status: failStatus(commonpb.ErrorCode_UnexpectedError, "mock GetSegmentIndexStateFunc fail"), }, nil } - dc.DropIndexFunc = func(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { + dc.DropIndexFunc = func(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return failStatus(commonpb.ErrorCode_UnexpectedError, "mock DropIndexFunc fail"), nil } return withDataCoord(dc) @@ -639,12 +619,6 @@ func withValidDataCoord() Opt { Status: succStatus(), }, nil } - dc.AcquireSegmentLockFunc = func(ctx context.Context, req *datapb.AcquireSegmentLockRequest) (*commonpb.Status, error) { - return succStatus(), nil - } - dc.ReleaseSegmentLockFunc = func(ctx context.Context, req *datapb.ReleaseSegmentLockRequest) (*commonpb.Status, error) { - return succStatus(), nil - } dc.FlushFunc = func(ctx context.Context, req *datapb.FlushRequest) (*datapb.FlushResponse, error) { return &datapb.FlushResponse{ Status: succStatus(), @@ -661,12 +635,12 @@ func withValidDataCoord() Opt { dc.broadCastAlteredCollectionFunc = func(ctx context.Context, req *datapb.AlterCollectionRequest) (*commonpb.Status, error) { return succStatus(), nil } - dc.GetSegmentIndexStateFunc = func(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) { - return &datapb.GetSegmentIndexStateResponse{ + dc.GetSegmentIndexStateFunc = func(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) { + return &indexpb.GetSegmentIndexStateResponse{ Status: succStatus(), }, nil } - dc.DropIndexFunc = func(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) { + dc.DropIndexFunc = func(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) { return succStatus(), nil } return withDataCoord(dc) @@ -787,8 +761,8 @@ type mockBroker struct { ImportFunc func(ctx context.Context, req *datapb.ImportTaskRequest) (*datapb.ImportTaskResponse, error) DropCollectionIndexFunc func(ctx context.Context, collID UniqueID, partIDs []UniqueID) error - DescribeIndexFunc func(ctx context.Context, colID UniqueID) (*datapb.DescribeIndexResponse, error) - GetSegmentIndexStateFunc func(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*datapb.SegmentIndexState, error) + DescribeIndexFunc func(ctx context.Context, colID UniqueID) (*indexpb.DescribeIndexResponse, error) + GetSegmentIndexStateFunc func(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*indexpb.SegmentIndexState, error) BroadcastAlteredCollectionFunc func(ctx context.Context, req *milvuspb.AlterCollectionRequest) error } @@ -813,11 +787,11 @@ func (b mockBroker) DropCollectionIndex(ctx context.Context, collID UniqueID, pa return b.DropCollectionIndexFunc(ctx, collID, partIDs) } -func (b mockBroker) DescribeIndex(ctx context.Context, colID UniqueID) (*datapb.DescribeIndexResponse, error) { +func (b mockBroker) DescribeIndex(ctx context.Context, colID UniqueID) (*indexpb.DescribeIndexResponse, error) { return b.DescribeIndexFunc(ctx, colID) } -func (b mockBroker) GetSegmentIndexState(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*datapb.SegmentIndexState, error) { +func (b mockBroker) GetSegmentIndexState(ctx context.Context, collID UniqueID, indexName string, segIDs []UniqueID) ([]*indexpb.SegmentIndexState, error) { return b.GetSegmentIndexStateFunc(ctx, collID, indexName, segIDs) } diff --git a/internal/types/types.go b/internal/types/types.go index 3b20c97f60..d4bea662e2 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -335,29 +335,29 @@ type DataCoord interface { // Index building is asynchronous, so when an index building request comes, an IndexID is assigned to the task and // will get all flushed segments from DataCoord and record tasks with these segments. The background process // indexBuilder will find this task and assign it to IndexNode for execution. - CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest) (*commonpb.Status, error) + CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest) (*commonpb.Status, error) // GetIndexState gets the index state of the index name in the request from Proxy. // Deprecated: use DescribeIndex instead - GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest) (*datapb.GetIndexStateResponse, error) + GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest) (*indexpb.GetIndexStateResponse, error) // GetSegmentIndexState gets the index state of the segments in the request from RootCoord. - GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest) (*datapb.GetSegmentIndexStateResponse, error) + GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest) (*indexpb.GetSegmentIndexStateResponse, error) // GetIndexInfos gets the index files of the IndexBuildIDs in the request from RootCoordinator. - GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest) (*datapb.GetIndexInfoResponse, error) + GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest) (*indexpb.GetIndexInfoResponse, error) // DescribeIndex describe the index info of the collection. - DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest) (*datapb.DescribeIndexResponse, error) + DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest) (*indexpb.DescribeIndexResponse, error) // GetIndexBuildProgress get the index building progress by num rows. // Deprecated: use DescribeIndex instead - GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest) (*datapb.GetIndexBuildProgressResponse, error) + GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest) (*indexpb.GetIndexBuildProgressResponse, error) // DropIndex deletes indexes based on IndexID. One IndexID corresponds to the index of an entire column. A column is // divided into many segments, and each segment corresponds to an IndexBuildID. IndexCoord uses IndexBuildID to record // index tasks. Therefore, when DropIndex is called, delete all tasks corresponding to IndexBuildID corresponding to IndexID. - DropIndex(ctx context.Context, req *datapb.DropIndexRequest) (*commonpb.Status, error) + DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error) } // DataCoordComponent defines the interface of DataCoord component. diff --git a/internal/util/mock/datacoord_client.go b/internal/util/mock/datacoord_client.go index ace56f94f3..c25c69a6af 100644 --- a/internal/util/mock/datacoord_client.go +++ b/internal/util/mock/datacoord_client.go @@ -130,11 +130,3 @@ func (m *DataCoordClient) Import(ctx context.Context, req *datapb.ImportTaskRequ func (m *DataCoordClient) UpdateSegmentStatistics(ctx context.Context, req *datapb.UpdateSegmentStatisticsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { return &commonpb.Status{}, m.Err } - -func (m *DataCoordClient) AcquireSegmentLock(ctx context.Context, req *datapb.AcquireSegmentLockRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { - return &commonpb.Status{}, m.Err -} - -func (m *DataCoordClient) ReleaseSegmentLock(ctx context.Context, req *datapb.ReleaseSegmentLockRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { - return &commonpb.Status{}, m.Err -} diff --git a/internal/util/mock/grpc_datacoord_client.go b/internal/util/mock/grpc_datacoord_client.go index d7bf58ad64..f20373d617 100644 --- a/internal/util/mock/grpc_datacoord_client.go +++ b/internal/util/mock/grpc_datacoord_client.go @@ -19,6 +19,8 @@ package mock import ( "context" + "github.com/milvus-io/milvus/internal/proto/indexpb" + "google.golang.org/grpc" "github.com/milvus-io/milvus-proto/go-api/commonpb" @@ -149,14 +151,6 @@ func (m *GrpcDataCoordClient) UpdateChannelCheckpoint(ctx context.Context, req * return &commonpb.Status{}, m.Err } -func (m *GrpcDataCoordClient) AcquireSegmentLock(ctx context.Context, req *datapb.AcquireSegmentLockRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { - return &commonpb.Status{}, m.Err -} - -func (m *GrpcDataCoordClient) ReleaseSegmentLock(ctx context.Context, req *datapb.ReleaseSegmentLockRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { - return &commonpb.Status{}, m.Err -} - func (m *GrpcDataCoordClient) SaveImportSegment(ctx context.Context, in *datapb.SaveImportSegmentRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { return &commonpb.Status{}, m.Err } @@ -174,34 +168,34 @@ func (m *GrpcDataCoordClient) BroadcastAlteredCollection(ctx context.Context, in } -func (m *GrpcDataCoordClient) CreateIndex(ctx context.Context, req *datapb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { +func (m *GrpcDataCoordClient) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { return &commonpb.Status{}, m.Err } -func (m *GrpcDataCoordClient) DropIndex(ctx context.Context, req *datapb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { +func (m *GrpcDataCoordClient) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { return &commonpb.Status{}, m.Err } -func (m *GrpcDataCoordClient) GetIndexState(ctx context.Context, req *datapb.GetIndexStateRequest, opts ...grpc.CallOption) (*datapb.GetIndexStateResponse, error) { - return &datapb.GetIndexStateResponse{}, m.Err +func (m *GrpcDataCoordClient) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetIndexStateResponse, error) { + return &indexpb.GetIndexStateResponse{}, m.Err } // GetSegmentIndexState gets the index state of the segments in the request from RootCoord. -func (m *GrpcDataCoordClient) GetSegmentIndexState(ctx context.Context, req *datapb.GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*datapb.GetSegmentIndexStateResponse, error) { - return &datapb.GetSegmentIndexStateResponse{}, m.Err +func (m *GrpcDataCoordClient) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetSegmentIndexStateResponse, error) { + return &indexpb.GetSegmentIndexStateResponse{}, m.Err } // GetIndexInfos gets the index files of the IndexBuildIDs in the request from RootCoordinator. -func (m *GrpcDataCoordClient) GetIndexInfos(ctx context.Context, req *datapb.GetIndexInfoRequest, opts ...grpc.CallOption) (*datapb.GetIndexInfoResponse, error) { - return &datapb.GetIndexInfoResponse{}, m.Err +func (m *GrpcDataCoordClient) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest, opts ...grpc.CallOption) (*indexpb.GetIndexInfoResponse, error) { + return &indexpb.GetIndexInfoResponse{}, m.Err } // DescribeIndex describe the index info of the collection. -func (m *GrpcDataCoordClient) DescribeIndex(ctx context.Context, req *datapb.DescribeIndexRequest, opts ...grpc.CallOption) (*datapb.DescribeIndexResponse, error) { - return &datapb.DescribeIndexResponse{}, m.Err +func (m *GrpcDataCoordClient) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest, opts ...grpc.CallOption) (*indexpb.DescribeIndexResponse, error) { + return &indexpb.DescribeIndexResponse{}, m.Err } // GetIndexBuildProgress get the index building progress by num rows. -func (m *GrpcDataCoordClient) GetIndexBuildProgress(ctx context.Context, req *datapb.GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*datapb.GetIndexBuildProgressResponse, error) { - return &datapb.GetIndexBuildProgressResponse{}, m.Err +func (m *GrpcDataCoordClient) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*indexpb.GetIndexBuildProgressResponse, error) { + return &indexpb.GetIndexBuildProgressResponse{}, m.Err } diff --git a/scripts/proto_gen_go.sh b/scripts/proto_gen_go.sh index 8317c345bd..1e861e7d8d 100755 --- a/scripts/proto_gen_go.sh +++ b/scripts/proto_gen_go.sh @@ -57,7 +57,7 @@ ${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./indexcgopb index_cgo ${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./rootcoordpb root_coord.proto ${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./internalpb internal.proto ${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./proxypb proxy.proto -${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./indexpb index_node.proto +${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./indexpb index_coord.proto ${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./datapb data_coord.proto ${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./querypb query_coord.proto ${protoc_opt} --go_out=plugins=grpc,paths=source_relative:./planpb plan.proto