Skip to content

Commit

Permalink
fscache校验跳过cluster有问题的集群 (PaddlePaddle#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyuedong authored Jan 3, 2024
1 parent 6980dc2 commit 8b320a4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apiserver/controller/fs/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions pkg/fs/client/ufs/object/test_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 8b320a4

Please sign in to comment.