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

请问atlas在读的时候是主库和从库一起读的还是只读从库 #98

Open
lytlucky opened this issue May 10, 2016 · 2 comments

Comments

@lytlucky
Copy link

No description provided.

@niubell
Copy link

niubell commented May 10, 2016

事务内读主库,其他的读从库

@lytlucky lytlucky changed the title 请问atlas在读的时候是主库和一起读的还是只读从库 请问atlas在读的时候是主库和从库一起读的还是只读从库 May 10, 2016
@WiFeng
Copy link

WiFeng commented Apr 24, 2020

除了事务之外,还有一种情况:INSERT 之后的第一个 SELECT 也会读主库。参考:#203

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

3 participants