Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf:蓝盾引擎模块对应的数据库支持分库 #5267

Closed
carlyin0801 opened this issue Oct 1, 2021 · 0 comments
Closed

perf:蓝盾引擎模块对应的数据库支持分库 #5267

carlyin0801 opened this issue Oct 1, 2021 · 0 comments
Assignees
Labels
area/ci/backend CI 后端issue del 删除可能仍然有人用到的功能、API等破坏性动作 done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy kind/enhancement 功能改进特性 kind/version/sample 所属开源版本特性 tested 测试环境通过/test patest passed for test stage
Milestone

Comments

@carlyin0801
Copy link
Collaborator

carlyin0801 commented Oct 1, 2021

因为磁盘空间限制和单机性能的原因需支持分库

本issue中删除了#5339 中旧版本中一些缺少projectId字段的表的同步逻辑:
src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/SyncPipelineProjectIdService.kt
src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/api/op/OpSyncPipelineProjectIdResource.kt

因此老用户如果要升级到v1.8.x版本之前,需要先升级至v1.7.x版本,并执行以下op接口刷新数据方可升级到v1.8.x版本
curl -XPUT http://{domain}/ms/process/api/op/pipeline/datas/projectId/async/update 接口来同步部分表的projectId数据以防止业务逻辑出错

@carlyin0801 carlyin0801 added the kind/enhancement 功能改进特性 label Oct 1, 2021
@carlyin0801 carlyin0801 self-assigned this Oct 1, 2021
@carlyin0801 carlyin0801 added the area/ci/backend CI 后端issue label Oct 1, 2021
@bkci-bot bkci-bot added the done Production environment in tencent has been deploy label Dec 23, 2021
@irwinsun irwinsun added this to the v1.8 milestone Jan 4, 2022
@irwinsun irwinsun added the del 删除可能仍然有人用到的功能、API等破坏性动作 label Jan 4, 2022
irwinsun added a commit that referenced this issue Jan 7, 2022
perf:蓝盾引擎模块对应的数据库支持分库 #5267
irwinsun added a commit that referenced this issue Jan 7, 2022
perf:蓝盾引擎模块对应的数据库支持分库 #5267
irwinsun added a commit that referenced this issue Jan 10, 2022
perf:蓝盾引擎模块对应的数据库支持分库 #5267
@bkci-bot bkci-bot added the tested 测试环境通过/test patest passed for test stage label Jan 11, 2022
irwinsun added a commit that referenced this issue Jan 11, 2022
perf:蓝盾引擎模块对应的数据库支持分库 #5267
@bkci-bot bkci-bot added the for gray UAT environment in tencent has been deploy label Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/backend CI 后端issue del 删除可能仍然有人用到的功能、API等破坏性动作 done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy kind/enhancement 功能改进特性 kind/version/sample 所属开源版本特性 tested 测试环境通过/test patest passed for test stage
Projects
None yet
Development

No branches or pull requests

4 participants