mirror of https://github.com/milvus-io/milvus.git
parent
543ec4a209
commit
f9c6b3980f
|
@ -560,7 +560,7 @@ func (i *IndexCoord) DropIndex(ctx context.Context, req *indexpb.DropIndexReques
|
||||||
|
|
||||||
// GetIndexFilePaths gets the index file paths from IndexCoord.
|
// GetIndexFilePaths gets the index file paths from IndexCoord.
|
||||||
func (i *IndexCoord) GetIndexFilePaths(ctx context.Context, req *indexpb.GetIndexFilePathsRequest) (*indexpb.GetIndexFilePathsResponse, error) {
|
func (i *IndexCoord) GetIndexFilePaths(ctx context.Context, req *indexpb.GetIndexFilePathsRequest) (*indexpb.GetIndexFilePathsResponse, error) {
|
||||||
log.Debug("IndexCoord GetIndexFilePaths", zap.Int64s("IndexBuildIds", req.IndexBuildIDs))
|
log.Debug("IndexCoord GetIndexFilePaths", zap.Int("number of IndexBuildIds", len(req.IndexBuildIDs)))
|
||||||
if !i.isHealthy() {
|
if !i.isHealthy() {
|
||||||
errMsg := "IndexCoord is not healthy"
|
errMsg := "IndexCoord is not healthy"
|
||||||
log.Warn(errMsg)
|
log.Warn(errMsg)
|
||||||
|
@ -589,7 +589,6 @@ func (i *IndexCoord) GetIndexFilePaths(ctx context.Context, req *indexpb.GetInde
|
||||||
}
|
}
|
||||||
indexPaths = append(indexPaths, indexPathInfo)
|
indexPaths = append(indexPaths, indexPathInfo)
|
||||||
}
|
}
|
||||||
log.Debug("IndexCoord GetIndexFilePaths success")
|
|
||||||
|
|
||||||
ret := &indexpb.GetIndexFilePathsResponse{
|
ret := &indexpb.GetIndexFilePathsResponse{
|
||||||
Status: &commonpb.Status{
|
Status: &commonpb.Status{
|
||||||
|
|
Loading…
Reference in New Issue