注明了RR下幻读例子的发生原因 by gloriatime · Pull Request #2878 · Snailclimb/JavaGuide · GitHub
Skip to content

注明了RR下幻读例子的发生原因#2878

Open
gloriatime wants to merge 1 commit into
Snailclimb:mainfrom
gloriatime:patch-1
Open

注明了RR下幻读例子的发生原因#2878
gloriatime wants to merge 1 commit into
Snailclimb:mainfrom
gloriatime:patch-1

Conversation

@gloriatime

Copy link
Copy Markdown

No description provided.

@Snailclimb

Copy link
Copy Markdown
Owner

@Snailclimb Snailclimb left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

感谢补充,方向是对的,但当前表述还需要调整后再合入。

请按上面的建议处理英文缩写格式,并把“ MySQL 不提供一致性保证”改成“快照读和当前读使用不同的读语义,因此同一事务内混用时可能看到不同结果”这一类更准确的表达。

@daltino daltino left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The PR adds a helpful explanation clarifying the root cause of phantom reads under the RR (Repeatable Read) isolation level, specifically the interplay of snapshot and current reads in MySQL. The additional note is concise and improves the understanding of the concept without altering existing content.

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