Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checker activation #228

Merged
merged 3 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 15 additions & 31 deletions proto/v2.2/milvuspb/milvus.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions proto/v2.2/proxypb/proxy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions proto/v2.2/query_coord.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ service QueryCoord {
rpc TransferReplica(TransferReplicaRequest) returns (common.Status) {}
rpc ListResourceGroups(milvus.ListResourceGroupsRequest) returns (milvus.ListResourceGroupsResponse) {}
rpc DescribeResourceGroup(DescribeResourceGroupRequest) returns (DescribeResourceGroupResponse) {}

rpc ListCheckers(ListCheckersRequest) returns (ListCheckersResponse) {}
rpc ActivateChecker(ActivateCheckerRequest) returns (common.Status) {}
rpc DeactivateChecker(DeactivateCheckerRequest) returns (common.Status) {}
}

service QueryNode {
Expand Down Expand Up @@ -634,3 +638,31 @@ message DeleteRequest {
schema.IDs primary_keys = 6;
repeated uint64 timestamps = 7;
}

message ActivateCheckerRequest {
common.MsgBase base = 1;
int32 checkerID = 2;
}

message DeactivateCheckerRequest {
common.MsgBase base = 1;
int32 checkerID = 2;
}

message ListCheckersRequest {
common.MsgBase base = 1;
repeated int32 checkerIDs = 2;
}

message ListCheckersResponse {
common.Status status = 1;
repeated CheckerInfo checkerInfos = 2;
}

message CheckerInfo {
int32 id = 1;
string desc = 2;
bool activated = 3;
bool found = 4;
}

Loading