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

update: zh/tikv_best_practices.md #4167

Merged
merged 2 commits into from
Nov 16, 2023
Merged

update: zh/tikv_best_practices.md #4167

merged 2 commits into from
Nov 16, 2023

Conversation

yuhr123
Copy link
Contributor

@yuhr123 yuhr123 commented Nov 15, 2023

No description provided.

@yuhr123 yuhr123 requested review from SandyXSD and Hexilee November 15, 2023 07:09

### 多机并发读写同一个目录,如何避免持续的事务重启现象?

JuiceFS v1.1 版本开始提供 `--skip-dir-nlink value` 挂载选项,用以指定跳过目录的 nlink 检查之前的重试次数,默认为 20 次。可以适当调小该值,或者设置为 0 禁止重试,以避免持续的事务重启现象,详情参考[元数据相关的挂载选项](https://juicefs.com/docs/zh/community/command_reference#mount-metadata-options)。
Copy link
Contributor

@Hexilee Hexilee Nov 15, 2023

Choose a reason for hiding this comment

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

我认为“跳过目录的 nlink 检查之前的重试次数” 这个描述不是很直观,应该强调一下这个 case 的具体场景:只有多客户端在同一个目录下频繁创建/删除子目录情况下才可能会遇到

@yuhr123 yuhr123 requested a review from Hexilee November 15, 2023 13:09
@davies davies merged commit 0b62ca8 into main Nov 16, 2023
@davies davies deleted the docs/tikv branch November 16, 2023 07:56
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.

3 participants