We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
框架如何保证全局xid不重复呢?
The text was updated successfully, but these errors were encountered:
ByteJTA/ByteTCC的XID包含有如下信息:
因此,可以看出:
总的来说,一台机器上处理的事务量不会太高(几乎不可能到256/ms:小于该值可保障;大于该值则靠随机数避免),且事务存在的时间也不会太长(不太可能超过8年),因此,一般来说,可以认为它是不重复的。
Sorry, something went wrong.
后续版本可能考虑将递增量占用调大而去掉随机数,且会调大year值。但不管怎样,一般情况下,可默认该值是全局唯一的。
No branches or pull requests
框架如何保证全局xid不重复呢?
The text was updated successfully, but these errors were encountered: