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

长时间持续超高QPS的情况下是否可能会生成重复id #24

Open
zhangjun1998 opened this issue Dec 15, 2022 · 1 comment
Open

Comments

@zhangjun1998
Copy link

历史时间自增1的设计,在长时间持续超高QPS的情况下,历史时间会一直自增直到超过当前实际时间,那么下次重启后历史时间又被重置为当前时间,也就可能生成重复id。

@ysy950803
Copy link

把startTime设置久远一点就行了吧,超高QPS是有多高?

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

No branches or pull requests

2 participants