close
The Wayback Machine - https://web.archive.org/web/20200706130023/https://github.com/macrozheng/mall/issues/366
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

想请教一下生成订单是怎样解决重复生成问题的? #366

Open
jiangtianyou opened this issue Jun 28, 2020 · 1 comment
Open

想请教一下生成订单是怎样解决重复生成问题的? #366

jiangtianyou opened this issue Jun 28, 2020 · 1 comment

Comments

@jiangtianyou
Copy link

@jiangtianyou jiangtianyou commented Jun 28, 2020

代码中好像没有找到这一块。要请教一下大家实际生产环境中,这种问题是怎样解决的?

@theonLyTao
Copy link

@theonLyTao theonLyTao commented Jun 29, 2020

分布式ID雪花算法,各自分表内可以通过唯一键约束

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.