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

feat: file content and tamplate content add md5 field #2963

Merged
merged 7 commits into from
Mar 6, 2024

Conversation

AlkaidChan
Copy link
Collaborator

No description provided.

// **这里只需要DB操作用到的字段**

// Content 文件内容
type Content struct {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的命名加下migrate后缀,不然下次有这个表migrate就冲突了

User: item.User,
UserGroup: item.UserGroup,
Privilege: item.Privilege,
items = append(items, &pbds.BatchUpsertTemplatesReq_Item{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

并发这里不加锁,不会有数据竞争问题吗?

@ifooth ifooth merged commit 947305d into TencentBlueKing:master Mar 6, 2024
9 of 11 checks passed
wenxinlee2015 added a commit that referenced this pull request Mar 6, 2024
* github-bk-bcs/master:
  feat: file content and tamplate content add md5 field (#2963)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants