-
Notifications
You must be signed in to change notification settings - Fork 471
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
Document read and write request paths #3534
Labels
Comments
Thanks to @andreimatei for finding this: For future reference, the Raft leader and its followers write new Raft log entries to disk in parallel (i.e., the leader's write isn't blocking): cockroachdb/cockroach@b67eb69 |
#2300 has sequence diagram that may be helpful. |
Ah, yes. Thank you, @robert-s-lee. I knew there was a related issue but couldn't find it. |
Closing in favor of #3873. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our architecture docs cover the components involved in reads and writes, but it would be nice to have docs that put the pieces together, in greater detail and with examples.
For example, currently, there's not a good way to understand the exact sequence of actions for a simple write, how both the raft log and kv come into play and when, and when data is actually written to disk. The Life of a SQL query tech note is probably the best current source of information.
cc: @bdarnell, @robert-s-lee, @andreimatei.
The text was updated successfully, but these errors were encountered: