From 1273cac05d79adfe5f7b0ee2c25d0e5c961e1b19 Mon Sep 17 00:00:00 2001 From: Leonid Chernin Date: Wed, 17 Apr 2024 10:53:50 +0000 Subject: [PATCH] Do not call self.namespace_recycle_safe in grpc.py --- control/grpc.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/control/grpc.py b/control/grpc.py index d4a6c876a..251281881 100644 --- a/control/grpc.py +++ b/control/grpc.py @@ -870,12 +870,6 @@ def set_ana_state_safe(self, ana_info: pb2.ana_info, context=None): context.set_code(grpc.StatusCode.INTERNAL) context.set_details(f"{ex}") return pb2.req_status() - for ana_key in inaccessible_ana_groups : - ret_recycle = self.namespace_recycle_safe(ana_key, peer_msg) - if ret_recycle != 0: - errmsg = f"Failure recycle namespaces of ana group {ana_key} " - self.logger.error(errmsg) - return pb2.req_status(status=ret_recycle , error_message=errmsg) return pb2.req_status(status=True) def choose_anagrpid_for_namespace(self, nsid) ->int: