Skip to content

Commit

Permalink
Make proxy update cache with NotShardLeader status code (milvus-io#16940
Browse files Browse the repository at this point in the history
)

See also: milvus-io#16926

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
  • Loading branch information
XuanYang-cn authored May 13, 2022
1 parent c5149c7 commit 43b36b4
Show file tree
Hide file tree
Showing 7 changed files with 173 additions and 165 deletions.
110 changes: 56 additions & 54 deletions internal/core/src/pb/common.pb.cc

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

1 change: 1 addition & 0 deletions internal/core/src/pb/common.pb.h

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

1 change: 1 addition & 0 deletions internal/proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ enum ErrorCode {
DeleteCredentialFailure = 31;
GetCredentialFailure = 32;
ListCredUsersFailure = 33;
NotShardLeader = 34;

// internal error code.
DDRequestRace = 1000;
Expand Down
Loading

0 comments on commit 43b36b4

Please sign in to comment.