Remove superfluous idempotent in proxy (#23894)

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
pull/23919/head
smellthemoon 2023-05-07 21:08:39 +08:00 committed by GitHub
parent fc010ee86b
commit dcf55e77b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -305,11 +305,6 @@ func (dct *dropCollectionTask) PreExecute(ctx context.Context) error {
func (dct *dropCollectionTask) Execute(ctx context.Context) error {
var err error
dct.result, err = dct.rootCoord.DropCollection(ctx, dct.DropCollectionRequest)
if common.IsCollectionNotExistError(err) {
// make dropping collection idempotent.
dct.result = &commonpb.Status{ErrorCode: commonpb.ErrorCode_Success}
return nil
}
return err
}