From 0c1c7e5c6f9939aecd920822686227e2da27dfda Mon Sep 17 00:00:00 2001 From: royalhuang Date: Fri, 20 Sep 2024 15:12:13 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=8E=A8=E8=8D=90=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E4=BC=98=E5=8C=96=20#10958=20=E6=8E=A8?= =?UTF-8?q?=E8=8D=90=E7=89=88=E6=9C=AC=E5=8F=B7=E8=BF=94=E5=9B=9E=E4=B8=8A?= =?UTF-8?q?=E6=AC=A1=E6=9E=84=E5=BB=BA=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../engine/service/PipelineRepositoryVersionService.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/backend/ci/core/process/biz-base/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineRepositoryVersionService.kt b/src/backend/ci/core/process/biz-base/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineRepositoryVersionService.kt index cd60519e9b9..42ae25d8bf0 100644 --- a/src/backend/ci/core/process/biz-base/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineRepositoryVersionService.kt +++ b/src/backend/ci/core/process/biz-base/src/main/kotlin/com/tencent/devops/process/engine/service/PipelineRepositoryVersionService.kt @@ -27,7 +27,6 @@ package com.tencent.devops.process.engine.service -import com.tencent.devops.common.api.exception.ErrorCodeException import com.tencent.devops.common.api.util.PageUtil import com.tencent.devops.common.api.util.timestampmilli import com.tencent.devops.common.auth.api.pojo.ProjectConditionDTO @@ -35,7 +34,6 @@ import com.tencent.devops.common.auth.enums.AuthSystemType import com.tencent.devops.common.client.Client import com.tencent.devops.common.pipeline.enums.VersionStatus import com.tencent.devops.common.redis.RedisOperation -import com.tencent.devops.process.constant.ProcessMessageCode import com.tencent.devops.process.engine.control.lock.PipelineModelLock import com.tencent.devops.process.engine.control.lock.PipelineVersionLock import com.tencent.devops.process.engine.dao.PipelineBuildDao @@ -48,7 +46,6 @@ import com.tencent.devops.process.pojo.setting.PipelineVersionSimple import com.tencent.devops.process.utils.PipelineVersionUtils import com.tencent.devops.project.api.service.ServiceProjectResource import org.jooq.DSLContext -import org.jooq.impl.DSL import org.slf4j.LoggerFactory import org.springframework.stereotype.Service import java.util.concurrent.Executors @@ -109,7 +106,6 @@ class PipelineRepositoryVersionService( pipelineVersionLock.lock() // #8161 软删除数据,前端无法查询到该版本 pipelineResourceVersionDao.deleteByVersion(dslContext, projectId, pipelineId, version) - } finally { pipelineVersionLock.unlock() }