授权之后,用户未同步,点同步就被删了,通过查看code-repo-service服务报错信息,发现找不到项目,日志里获取到的id为585,但是我从gitlab的库里查到的是587.实际情况是从584直接到587,没有585这个id,应该是删除过某些项目。这个问题怎么解决呢,585这个是从哪个表读出来的
部分报错信息
2021-10-19 17:15:48.432 INFO 7 --- [ XNIO-3 task-60] o.h.r.g.d.f.i.C7NDevOpsServiceFacadeImpl : 221631901151268864应用服务获取到的GitlabProjectId为585
2021-10-19 17:15:48.719 INFO 7 --- [ XNIO-3 task-60] o.h.r.g.d.f.i.C7NBaseServiceFacadeImpl : 190218985106186240用户获取到的GitlabUserId为206
2021-10-19 17:15:49.289 ERROR 7 --- [ XNIO-3 task-60] o.h.r.g.a.s.i.RdmMemberAppServiceImpl : error.gitlab.client
org.hrds.rducm.gitlab.infra.client.gitlab.exception.GitlabClientException: error.gitlab.client
......................................................................
Caused by: org.gitlab4j.api.GitLabApiException: 404 Project Not Found
at org.gitlab4j.api.AbstractApi.validate(AbstractApi.java:386) ~[choerodon-gitlab4j-api-0.17.1.RELEASE.jar!/:0.17.1.RELEASE]
at org.gitlab4j.api.AbstractApi.get(AbstractApi.java:126) ~[choerodon-gitlab4j-api-0.17.1.RELEASE.jar!/:0.17.1.RELEASE]
at org.gitlab4j.api.Pager.<init>(Pager.java:107) ~[choerodon-gitlab4j-api-0.17.1.RELEASE.jar!/:0.17.1.RELEASE]
at org.gitlab4j.api.ProjectApi.getAllMembers(ProjectApi.java:1841) ~[choerodon-gitlab4j-api-0.17.1.RELEASE.jar!/:0.17.1.RELEASE]
at org.gitlab4j.api.ProjectApi.getAllMembers(ProjectApi.java:1800) ~[choerodon-gitlab4j-api-0.17.1.RELEASE.jar!/:0.17.1.RELEASE]
at org.hrds.rducm.gitlab.infra.client.gitlab.api.GitlabProjectApi.getAllMember(GitlabProjectApi.java:161) ~[classes!/:0.24.2]
... 146 common frames omitted