diff --git a/control/grpc.py b/control/grpc.py index b93721628..0b4a9600a 100644 --- a/control/grpc.py +++ b/control/grpc.py @@ -868,13 +868,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 : - with self.omap_lock(context=context): - 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: