-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix lin reads timeouts and AssignUid recursion in Zero #3203
Merged
Merged
Changes from 13 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
5dacf24
Pick up all the changes so far.
manishrjain 363e9ff
Avoid a recursive AssignUids call where one Zero forwards to another,…
manishrjain 88a37bf
Reuse the activeRctx when asking for ReadIndex. This allows delays in…
manishrjain 071255a
Move requestCtx to verbosity 3. Add a way to close RaftMessage stream…
manishrjain 883c5d2
Self review
manishrjain 28c5a1b
Remove a verbose log.
manishrjain dc518d6
Add a timeout so raft.Step does not block indefinitely.
manishrjain 750c5bf
Fix up a span.Annotatef
manishrjain b4da79b
Add raft.Ready warning in Alpha as well. Make raft.Step error obvious.
manishrjain 5bef4d1
Improve message
manishrjain bc1ab01
Add warnings in both Zero and Alpha about slow disk.
manishrjain c23307f
Self review.
manishrjain 32bdc4c
Run make regenerate again
manishrjain 2f54e33
Rename to forwarded as requested by Martin
manishrjain a722347
Use the renamed Forwarded.
manishrjain 27d2e7c
No need to do select case on pushing to readStateCh. It is typically …
manishrjain d06776f
Add comment
manishrjain 54af435
Merge branch 'master' into mrjn/improving-zero
manishrjain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the cancel function is not used on all paths (possible context leak) (from
govet
)