From 8b320a4bdd7a6be21f4a39f1d728c3b3b36eef69 Mon Sep 17 00:00:00 2001 From: luoyuedong Date: Wed, 3 Jan 2024 16:43:56 +0800 Subject: [PATCH] =?UTF-8?q?fscache=E6=A0=A1=E9=AA=8C=E8=B7=B3=E8=BF=87clus?= =?UTF-8?q?ter=E6=9C=89=E9=97=AE=E9=A2=98=E7=9A=84=E9=9B=86=E7=BE=A4=20(#1?= =?UTF-8?q?297)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/apiserver/controller/fs/fs.go | 2 +- pkg/fs/client/ufs/object/test_file.go | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/pkg/apiserver/controller/fs/fs.go b/pkg/apiserver/controller/fs/fs.go index 7027e5c20..de2297ec3 100644 --- a/pkg/apiserver/controller/fs/fs.go +++ b/pkg/apiserver/controller/fs/fs.go @@ -306,7 +306,7 @@ func (s *FileSystemService) checkFsMountedAllClustersAndScheduledJobs(fsID strin if err != nil { err := fmt.Errorf("check fs[%s] mounted in cluster[%s] err: %v", fsID, cluster.Name, err) log.Errorf(err.Error()) - return false, nil, err + continue } if mounted { return true, nil, nil diff --git a/pkg/fs/client/ufs/object/test_file.go b/pkg/fs/client/ufs/object/test_file.go index 59f3bf85c..3b3a2d72a 100644 --- a/pkg/fs/client/ufs/object/test_file.go +++ b/pkg/fs/client/ufs/object/test_file.go @@ -374,5 +374,31 @@ func a() int { c = 1 c = 1 c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 + c = 1 return c }