提交 c795cdbe 编写于 作者: C Cai Yudong 提交者: yefu.chen

Change minSegmentSizeToEnableIndex default to 1024

Signed-off-by: NCai Yudong <yudong.cai@zilliz.com>
上级 76480fce
......@@ -23,6 +23,7 @@ master:
IDAssignExpiration: 2000 # ms
maxPartitionNum: 4096
minSegmentSizeToEnableIndex: 4096
minSegmentSizeToEnableIndex: 1024
nodeID: 100
timeout: 3600 # time out, 5 seconds
\ No newline at end of file
timeout: 3600 # time out, 5 seconds
......@@ -247,34 +247,36 @@ const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE(
"NOT_DELETE_FILE\020\024\022\025\n\021BUILD_INDEX_ERROR\020\025"
"\022\021\n\rILLEGAL_NLIST\020\026\022\027\n\023ILLEGAL_METRIC_TY"
"PE\020\027\022\021\n\rOUT_OF_MEMORY\020\030\022\023\n\017INDEX_NOT_EXI"
"ST\020\031\022\024\n\017DD_REQUEST_RACE\020\350\007*[\n\nIndexState"
"\022\010\n\004NONE\020\000\022\014\n\010UNISSUED\020\001\022\016\n\nINPROGRESS\020\002"
"\022\014\n\010FINISHED\020\003\022\n\n\006FAILED\020\004\022\013\n\007DELETED\020\005*"
"o\n\014SegmentState\022\017\n\013SegmentNone\020\000\022\023\n\017Segm"
"entNotExist\020\001\022\022\n\016SegmentGrowing\020\002\022\021\n\rSeg"
"mentSealed\020\003\022\022\n\016SegmentFlushed\020\004*\225\006\n\007Msg"
"Type\022\t\n\005kNone\020\000\022\025\n\021kCreateCollection\020d\022\023"
"\n\017kDropCollection\020e\022\022\n\016kHasCollection\020f\022"
"\027\n\023kDescribeCollection\020g\022\024\n\020kShowCollect"
"ions\020h\022\022\n\016kGetSysConfigs\020i\022\023\n\017kLoadColle"
"ction\020j\022\026\n\022kReleaseCollection\020k\022\025\n\020kCrea"
"tePartition\020\310\001\022\023\n\016kDropPartition\020\311\001\022\022\n\rk"
"HasPartition\020\312\001\022\027\n\022kDescribePartition\020\313\001"
"\022\024\n\017kShowPartitions\020\314\001\022\023\n\016kLoadPartition"
"\020\315\001\022\026\n\021kReleasePartition\020\316\001\022\021\n\014kShowSegm"
"ent\020\372\001\022\025\n\020kDescribeSegment\020\373\001\022\021\n\014kCreate"
"Index\020\254\002\022\023\n\016kDescribeIndex\020\255\002\022\017\n\nkDropIn"
"dex\020\256\002\022\014\n\007kInsert\020\220\003\022\014\n\007kDelete\020\221\003\022\013\n\006kF"
"lush\020\222\003\022\014\n\007kSearch\020\364\003\022\022\n\rkSearchResult\020\365"
"\003\022\023\n\016kGetIndexState\020\366\003\022\035\n\030kGetCollection"
"Statistics\020\367\003\022\034\n\027kGetPartitionStatistics"
"\020\370\003\022\021\n\014kSegmentInfo\020\330\004\022\016\n\tkTimeTick\020\260\t\022\024"
"\n\017kQueryNodeStats\020\261\t\022\017\n\nkLoadIndex\020\262\t\022\017\n"
"\nkRequestID\020\263\t\022\020\n\013kRequestTSO\020\264\t\022\025\n\020kAll"
"ocateSegment\020\265\t\022\027\n\022kSegmentStatistics\020\266\t"
"\022\026\n\021kSegmentFlushDone\020\267\tBBZ@github.com/z"
"illiztech/milvus-distributed/internal/pr"
"oto/commonpbb\006proto3"
"ST\020\031\022\024\n\017DD_REQUEST_RACE\020\350\007*\244\001\n\nIndexStat"
"e\022\024\n\020INDEX_STATE_NONE\020\000\022\030\n\024INDEX_STATE_U"
"NISSUED\020\001\022\033\n\027INDEX_STATE_IN_PROGRESS\020\002\022\030"
"\n\024INDEX_STATE_FINISHED\020\003\022\026\n\022INDEX_STATE_"
"FAILED\020\004\022\027\n\023INDEX_STATE_DELETED\020\005*o\n\014Seg"
"mentState\022\017\n\013SegmentNone\020\000\022\023\n\017SegmentNot"
"Exist\020\001\022\022\n\016SegmentGrowing\020\002\022\021\n\rSegmentSe"
"aled\020\003\022\022\n\016SegmentFlushed\020\004*\225\006\n\007MsgType\022\t"
"\n\005kNone\020\000\022\025\n\021kCreateCollection\020d\022\023\n\017kDro"
"pCollection\020e\022\022\n\016kHasCollection\020f\022\027\n\023kDe"
"scribeCollection\020g\022\024\n\020kShowCollections\020h"
"\022\022\n\016kGetSysConfigs\020i\022\023\n\017kLoadCollection\020"
"j\022\026\n\022kReleaseCollection\020k\022\025\n\020kCreatePart"
"ition\020\310\001\022\023\n\016kDropPartition\020\311\001\022\022\n\rkHasPar"
"tition\020\312\001\022\027\n\022kDescribePartition\020\313\001\022\024\n\017kS"
"howPartitions\020\314\001\022\023\n\016kLoadPartition\020\315\001\022\026\n"
"\021kReleasePartition\020\316\001\022\021\n\014kShowSegment\020\372\001"
"\022\025\n\020kDescribeSegment\020\373\001\022\021\n\014kCreateIndex\020"
"\254\002\022\023\n\016kDescribeIndex\020\255\002\022\017\n\nkDropIndex\020\256\002"
"\022\014\n\007kInsert\020\220\003\022\014\n\007kDelete\020\221\003\022\013\n\006kFlush\020\222"
"\003\022\014\n\007kSearch\020\364\003\022\022\n\rkSearchResult\020\365\003\022\023\n\016k"
"GetIndexState\020\366\003\022\035\n\030kGetCollectionStatis"
"tics\020\367\003\022\034\n\027kGetPartitionStatistics\020\370\003\022\021\n"
"\014kSegmentInfo\020\330\004\022\016\n\tkTimeTick\020\260\t\022\024\n\017kQue"
"ryNodeStats\020\261\t\022\017\n\nkLoadIndex\020\262\t\022\017\n\nkRequ"
"estID\020\263\t\022\020\n\013kRequestTSO\020\264\t\022\025\n\020kAllocateS"
"egment\020\265\t\022\027\n\022kSegmentStatistics\020\266\t\022\026\n\021kS"
"egmentFlushDone\020\267\tBBZ@github.com/zillizt"
"ech/milvus-distributed/internal/proto/co"
"mmonpbb\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_common_2eproto_deps[1] = {
};
......@@ -290,7 +292,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_com
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_common_2eproto_once;
static bool descriptor_table_common_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_2eproto = {
&descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2060,
&descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2134,
&descriptor_table_common_2eproto_once, descriptor_table_common_2eproto_sccs, descriptor_table_common_2eproto_deps, 7, 0,
schemas, file_default_instances, TableStruct_common_2eproto::offsets,
file_level_metadata_common_2eproto, 7, file_level_enum_descriptors_common_2eproto, file_level_service_descriptors_common_2eproto,
......
......@@ -145,18 +145,18 @@ inline bool ErrorCode_Parse(
ErrorCode_descriptor(), name, value);
}
enum IndexState : int {
NONE = 0,
UNISSUED = 1,
INPROGRESS = 2,
FINISHED = 3,
FAILED = 4,
DELETED = 5,
INDEX_STATE_NONE = 0,
INDEX_STATE_UNISSUED = 1,
INDEX_STATE_IN_PROGRESS = 2,
INDEX_STATE_FINISHED = 3,
INDEX_STATE_FAILED = 4,
INDEX_STATE_DELETED = 5,
IndexState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
IndexState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
bool IndexState_IsValid(int value);
constexpr IndexState IndexState_MIN = NONE;
constexpr IndexState IndexState_MAX = DELETED;
constexpr IndexState IndexState_MIN = INDEX_STATE_NONE;
constexpr IndexState IndexState_MAX = INDEX_STATE_DELETED;
constexpr int IndexState_ARRAYSIZE = IndexState_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IndexState_descriptor();
......
......@@ -80,7 +80,7 @@ func (mt *metaTable) AddIndex(indexBuildID UniqueID, req *indexpb.BuildIndexRequ
return fmt.Errorf("index already exists with ID = %d", indexBuildID)
}
meta := &indexpb.IndexMeta{
State: commonpb.IndexState_UNISSUED,
State: commonpb.IndexState_INDEX_STATE_UNISSUED,
IndexBuildID: indexBuildID,
Req: req,
}
......@@ -93,7 +93,7 @@ func (mt *metaTable) MarkIndexAsDeleted(indexID UniqueID) error {
for indexBuildID, meta := range mt.indexBuildID2Meta {
if meta.Req.IndexID == indexID {
meta.State = commonpb.IndexState_DELETED
meta.State = commonpb.IndexState_INDEX_STATE_DELETED
mt.indexBuildID2Meta[indexBuildID] = meta
}
}
......@@ -109,15 +109,15 @@ func (mt *metaTable) NotifyBuildIndex(nty *indexpb.BuildIndexNotification) error
if !ok {
return fmt.Errorf("index not exists with ID = %d", indexBuildID)
}
if meta.State == commonpb.IndexState_DELETED {
if meta.State == commonpb.IndexState_INDEX_STATE_DELETED {
return fmt.Errorf("index not exists with ID = %d", indexBuildID)
}
if nty.Status.ErrorCode != commonpb.ErrorCode_SUCCESS {
meta.State = commonpb.IndexState_FAILED
meta.State = commonpb.IndexState_INDEX_STATE_FAILED
meta.FailReason = nty.Status.Reason
} else {
meta.State = commonpb.IndexState_FINISHED
meta.State = commonpb.IndexState_INDEX_STATE_FINISHED
meta.IndexFilePaths = nty.IndexFilePaths
}
......@@ -129,13 +129,13 @@ func (mt *metaTable) GetIndexState(indexBuildID UniqueID) (*indexpb.IndexInfo, e
defer mt.lock.Unlock()
ret := &indexpb.IndexInfo{
IndexBuildID: indexBuildID,
State: commonpb.IndexState_NONE,
State: commonpb.IndexState_INDEX_STATE_NONE,
}
meta, ok := mt.indexBuildID2Meta[indexBuildID]
if !ok {
return ret, fmt.Errorf("index not exists with ID = %d", indexBuildID)
}
if meta.State == commonpb.IndexState_DELETED {
if meta.State == commonpb.IndexState_INDEX_STATE_DELETED {
return ret, fmt.Errorf("index not exists with ID = %d", indexBuildID)
}
ret.IndexID = meta.Req.IndexID
......@@ -155,7 +155,7 @@ func (mt *metaTable) GetIndexFilePathInfo(indexBuildID UniqueID) (*indexpb.Index
if !ok {
return nil, fmt.Errorf("index not exists with ID = %d", indexBuildID)
}
if meta.State == commonpb.IndexState_DELETED {
if meta.State == commonpb.IndexState_INDEX_STATE_DELETED {
return nil, fmt.Errorf("index not exists with ID = %d", indexBuildID)
}
ret.IndexFilePaths = meta.IndexFilePaths
......
......@@ -35,12 +35,12 @@ enum ErrorCode {
}
enum IndexState {
NONE = 0;
UNISSUED = 1;
INPROGRESS = 2;
FINISHED = 3;
FAILED = 4;
DELETED = 5;
INDEX_STATE_NONE = 0;
INDEX_STATE_UNISSUED = 1;
INDEX_STATE_IN_PROGRESS = 2;
INDEX_STATE_FINISHED = 3;
INDEX_STATE_FAILED = 4;
INDEX_STATE_DELETED = 5;
}
enum SegmentState {
......
......@@ -121,30 +121,30 @@ func (ErrorCode) EnumDescriptor() ([]byte, []int) {
type IndexState int32
const (
IndexState_NONE IndexState = 0
IndexState_UNISSUED IndexState = 1
IndexState_INPROGRESS IndexState = 2
IndexState_FINISHED IndexState = 3
IndexState_FAILED IndexState = 4
IndexState_DELETED IndexState = 5
IndexState_INDEX_STATE_NONE IndexState = 0
IndexState_INDEX_STATE_UNISSUED IndexState = 1
IndexState_INDEX_STATE_IN_PROGRESS IndexState = 2
IndexState_INDEX_STATE_FINISHED IndexState = 3
IndexState_INDEX_STATE_FAILED IndexState = 4
IndexState_INDEX_STATE_DELETED IndexState = 5
)
var IndexState_name = map[int32]string{
0: "NONE",
1: "UNISSUED",
2: "INPROGRESS",
3: "FINISHED",
4: "FAILED",
5: "DELETED",
0: "INDEX_STATE_NONE",
1: "INDEX_STATE_UNISSUED",
2: "INDEX_STATE_IN_PROGRESS",
3: "INDEX_STATE_FINISHED",
4: "INDEX_STATE_FAILED",
5: "INDEX_STATE_DELETED",
}
var IndexState_value = map[string]int32{
"NONE": 0,
"UNISSUED": 1,
"INPROGRESS": 2,
"FINISHED": 3,
"FAILED": 4,
"DELETED": 5,
"INDEX_STATE_NONE": 0,
"INDEX_STATE_UNISSUED": 1,
"INDEX_STATE_IN_PROGRESS": 2,
"INDEX_STATE_FINISHED": 3,
"INDEX_STATE_FAILED": 4,
"INDEX_STATE_DELETED": 5,
}
func (x IndexState) String() string {
......@@ -661,82 +661,83 @@ func init() {
func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) }
var fileDescriptor_555bd8c177793206 = []byte{
// 1231 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x55, 0xdb, 0x6e, 0xdb, 0xc6,
0x16, 0x8d, 0x2e, 0xb6, 0xcc, 0x2d, 0x45, 0x1e, 0x8f, 0x6f, 0xca, 0x39, 0x3e, 0x07, 0x81, 0x9f,
0x02, 0x03, 0xb1, 0x0f, 0x4e, 0x81, 0xf6, 0x29, 0x40, 0x65, 0x72, 0x64, 0x13, 0xa1, 0x48, 0x65,
0x48, 0xa5, 0x49, 0xfb, 0x40, 0x50, 0xd2, 0x44, 0x66, 0x45, 0x89, 0x2a, 0x67, 0x94, 0x44, 0xf9,
0x8a, 0x36, 0x40, 0xff, 0xa2, 0x2d, 0x7a, 0xef, 0x2f, 0xf4, 0x96, 0x3e, 0xf7, 0x13, 0xfa, 0x01,
0xbd, 0xa1, 0x7d, 0x29, 0x66, 0x48, 0x4a, 0x44, 0x91, 0xbe, 0x71, 0xaf, 0x3d, 0x7b, 0xcd, 0x5e,
0x6b, 0xf6, 0x70, 0xa0, 0x31, 0x8c, 0xa7, 0xd3, 0x78, 0x76, 0x3a, 0x4f, 0x62, 0x11, 0xe3, 0xdd,
0x69, 0x18, 0x3d, 0x5e, 0xf0, 0x34, 0x3a, 0x4d, 0x53, 0xc7, 0x35, 0xd8, 0x20, 0xd3, 0xb9, 0x58,
0x1e, 0xfb, 0xb0, 0xe9, 0x8a, 0x40, 0x2c, 0x38, 0xbe, 0x03, 0xc0, 0x92, 0x24, 0x4e, 0xfc, 0x61,
0x3c, 0x62, 0xad, 0xd2, 0xcd, 0xd2, 0xad, 0xe6, 0xff, 0xff, 0x7b, 0xfa, 0x92, 0xe2, 0x53, 0x22,
0x97, 0xe9, 0xf1, 0x88, 0x51, 0x8d, 0xe5, 0x9f, 0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3, 0x36, 0xdd,
0x4b, 0x35, 0x37, 0x00, 0x9b, 0x99, 0x69, 0x55, 0x39, 0x91, 0xa9, 0x42, 0x03, 0x6d, 0x9c, 0xc4,
0xd0, 0x70, 0xd9, 0x78, 0xca, 0x66, 0x22, 0xa5, 0xdf, 0x86, 0x7a, 0x16, 0xdb, 0xf1, 0x8c, 0xa1,
0x6b, 0xb2, 0xd1, 0x15, 0x20, 0xc8, 0xd3, 0x90, 0x8b, 0x74, 0x62, 0x33, 0xf0, 0x22, 0x89, 0x9f,
0x84, 0xb3, 0x31, 0x2a, 0x4b, 0x91, 0x39, 0x13, 0x0b, 0x22, 0x36, 0x42, 0x95, 0xc2, 0xb2, 0x4e,
0xb4, 0xe0, 0x57, 0x6c, 0x84, 0xaa, 0x27, 0xef, 0x6f, 0xaa, 0x1b, 0xaf, 0x2e, 0xae, 0x06, 0x1b,
0x93, 0x6c, 0x9b, 0x7d, 0xd8, 0x99, 0xe8, 0x09, 0x0b, 0x04, 0xd3, 0xe3, 0x28, 0x62, 0x43, 0x11,
0xc6, 0x33, 0x34, 0x92, 0xbb, 0x4f, 0x8c, 0x24, 0x9e, 0x17, 0x40, 0x26, 0x69, 0x27, 0x97, 0x01,
0x2f, 0x60, 0x8f, 0xa4, 0xf7, 0x13, 0x83, 0xf1, 0x61, 0x12, 0x0e, 0x8a, 0x0c, 0x63, 0x79, 0x2d,
0x26, 0xee, 0x55, 0xfc, 0x64, 0x0d, 0x72, 0x74, 0xa5, 0x28, 0x2e, 0x98, 0x70, 0x97, 0x5c, 0x8f,
0x67, 0x8f, 0xc2, 0x31, 0x47, 0xa1, 0xda, 0xcb, 0x8a, 0x83, 0x51, 0xa1, 0xfc, 0x6d, 0x39, 0x15,
0x13, 0xca, 0x22, 0x16, 0xf0, 0x22, 0xed, 0x04, 0xef, 0x03, 0xca, 0xfa, 0xed, 0x05, 0x89, 0x08,
0x15, 0xfa, 0x75, 0x09, 0xef, 0x42, 0x53, 0xf5, 0xbb, 0x06,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x04, 0x7d, 0xac, 0x29, 0x97, 0xef, 0x2d, 0x58, 0xb2, 0xb4, 0xe3, 0x11, 0x93, 0xd5, 0x1c,
0x7d, 0xa2, 0x29, 0x99, 0xd2, 0xe5, 0x54, 0xe6, 0xa7, 0x29, 0x40, 0xd9, 0x3b, 0x0b, 0xc6, 0x85,
0x69, 0xa0, 0xcf, 0xe4, 0x2f, 0xb0, 0x9e, 0x03, 0x9e, 0xeb, 0xa0, 0xcf, 0x35, 0xe5, 0x6c, 0x3b,
0x8a, 0xe2, 0x61, 0x20, 0x56, 0xce, 0x7e, 0xa1, 0xa9, 0xf3, 0x2d, 0x5c, 0xac, 0xac, 0xb9, 0x2f,
0x35, 0x75, 0x68, 0xc5, 0x4b, 0x61, 0xc8, 0xf9, 0xff, 0x4a, 0x3b, 0x3f, 0x7f, 0xf3, 0xf5, 0x71,
0x28, 0xae, 0x16, 0x03, 0xf9, 0xa8, 0x9c, 0x3d, 0x0b, 0xa3, 0x28, 0x7c, 0x26, 0xd8, 0xf0, 0xea,
0x2c, 0x7d, 0x70, 0x6e, 0x8f, 0x42, 0x2e, 0x92, 0x70, 0xb0, 0x10, 0x6c, 0x74, 0x16, 0xce, 0x04,
0x4b, 0x66, 0x41, 0x74, 0xa6, 0x5e, 0xa1, 0xb3, 0xf4, 0x15, 0x9a, 0x0f, 0x06, 0x9b, 0x2a, 0x7e,
0xe5, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x85, 0xb7, 0x70, 0x68, 0x08, 0x00, 0x00,
// 1241 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x55, 0xdd, 0x8e, 0xdb, 0x44,
0x14, 0xae, 0x93, 0xec, 0xa6, 0x3e, 0x49, 0x77, 0x67, 0x67, 0xff, 0x52, 0x58, 0x50, 0xb5, 0x57,
0xd5, 0x4a, 0xdd, 0x45, 0x20, 0xc1, 0x55, 0x25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0xc6, 0x71, 0xd2, 0x0f, 0xb3, 0xa5, 0xb3,
0xdf, 0xe8, 0x72, 0xbe, 0x85, 0x1f, 0x6b, 0xd1, 0xdc, 0xb7, 0xba, 0x1c, 0x5a, 0xf1, 0xa7, 0x30,
0xc5, 0xf9, 0xff, 0x4e, 0x3f, 0x3d, 0x7d, 0xf7, 0xed, 0x61, 0x94, 0x5d, 0xce, 0x7a, 0xe2, 0x79,
0x3a, 0x79, 0x12, 0xc5, 0x71, 0xf4, 0x24, 0x63, 0xfd, 0xcb, 0x13, 0xf5, 0x74, 0xdd, 0x1a, 0x44,
0x3c, 0x4b, 0xa3, 0xde, 0x2c, 0x63, 0x83, 0x93, 0x68, 0x92, 0xb1, 0x74, 0x12, 0xc6, 0x27, 0xf2,
0x3d, 0x3b, 0x51, 0xef, 0xd9, 0xb4, 0xd7, 0x5b, 0x97, 0xf1, 0x1b, 0xff, 0x05, 0x00, 0x00, 0xff,
0xff, 0x61, 0x04, 0xa4, 0xec, 0xb2, 0x08, 0x00, 0x00,
}
......@@ -745,7 +745,7 @@ func (m *FieldIndexMeta) GetState() commonpb.IndexState {
if m != nil {
return m.State
}
return commonpb.IndexState_NONE
return commonpb.IndexState_INDEX_STATE_NONE
}
func (m *FieldIndexMeta) GetIndexFilePaths() []string {
......
......@@ -200,7 +200,7 @@ func (m *IndexInfo) GetState() commonpb.IndexState {
if m != nil {
return m.State
}
return commonpb.IndexState_NONE
return commonpb.IndexState_INDEX_STATE_NONE
}
func (m *IndexInfo) GetIndexBuildID() int64 {
......@@ -694,7 +694,7 @@ func (m *IndexMeta) GetState() commonpb.IndexState {
if m != nil {
return m.State
}
return commonpb.IndexState_NONE
return commonpb.IndexState_INDEX_STATE_NONE
}
func (m *IndexMeta) GetFailReason() string {
......
......@@ -1868,7 +1868,7 @@ func (m *IndexStateResponse) GetState() commonpb.IndexState {
if m != nil {
return m.State
}
return commonpb.IndexState_NONE
return commonpb.IndexState_INDEX_STATE_NONE
}
type DropIndexRequest struct {
......
......@@ -1760,7 +1760,7 @@ func (gist *GetIndexStateTask) Execute(ctx context.Context) error {
ErrorCode: commonpb.ErrorCode_SUCCESS,
Reason: "",
},
State: commonpb.IndexState_INPROGRESS,
State: commonpb.IndexState_INDEX_STATE_IN_PROGRESS,
}
return err
}
......@@ -1778,14 +1778,14 @@ func (gist *GetIndexStateTask) Execute(ctx context.Context) error {
if states.Status.ErrorCode != commonpb.ErrorCode_SUCCESS {
gist.result = &milvuspb.IndexStateResponse{
Status: states.Status,
State: commonpb.IndexState_FAILED,
State: commonpb.IndexState_INDEX_STATE_FAILED,
}
return nil
}
for _, state := range states.States {
if state.State != commonpb.IndexState_FINISHED {
if state.State != commonpb.IndexState_INDEX_STATE_FINISHED {
gist.result = &milvuspb.IndexStateResponse{
Status: states.Status,
State: state.State,
......@@ -1800,7 +1800,7 @@ func (gist *GetIndexStateTask) Execute(ctx context.Context) error {
ErrorCode: commonpb.ErrorCode_SUCCESS,
Reason: "",
},
State: commonpb.IndexState_FINISHED,
State: commonpb.IndexState_INDEX_STATE_FINISHED,
}
return nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册