pingcap / pingcap/docs-cn

在解决写偏斜问题的Golang版本的案例代码出错

Open
#16,846 0 comments 0 reactions 1 assignee View on GitHub

@cfzjywxk is already working on this.

Since Apr 18, 2024.

Dominant language
Python
Stars
1.8k
Forks
1.2k
Avg merge
1d 16h
Merged PRs (30d)
31

Description

File: /release-7.5/develop/dev-guide-transaction-restraints.md

使用 select for update,但是在Golang的案例中,SQL:SELECT COUNT(*) AS count FROM doctors WHERE on_call = ? AND shift_id = ? 没有写上 FOR UPDATE

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.