-
Notifications
You must be signed in to change notification settings - Fork 6
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
[DEPRECATED][BUGFIX] Move sleep to implement a 1s delay between pings for schema lock connection #1853
Open
clemire
wants to merge
23
commits into
main
Choose a base branch
from
crystal/pg-stream-store-ping-delay
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[DEPRECATED][BUGFIX] Move sleep to implement a 1s delay between pings for schema lock connection #1853
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
db30ff5
Sleep was incorrectly placed to implement a 1s delay between pings. T…
clemire c23f028
Reduce ping timer to 100ms.
clemire 1426915
Test printing for TestReplAdd
clemire 96be682
Enable debug logs for TestAddRepl.
clemire 82d428e
enable only error logs.
clemire 56f37f1
Re-institute 1s delay between pings. sleep with context proliferation…
clemire e1885e3
AddEvent log.
clemire 3c39f57
Produce and apply mb logs.
clemire 79d2eeb
Logging
clemire 8154495
Start log for timestamp.
clemire 658c0e4
Confirm initialized store
clemire 32218ca
Log executeRemote call.
clemire 9a5df10
Print on context cancellation
clemire 0de0a76
Uncancel context to see if tests pass, hopefully no races.
clemire 686a723
Print on the test that's breaking now.
clemire 62d31ec
Debug messages
clemire 47c8e26
Settings on localhost tls client. turn off logs.
clemire b9741f2
Node config to timeout dials locally to 100ms.
clemire 1bf1360
Increase dial timeout. Remove extraneous error logs.
clemire 3dd5144
Remove another log.
clemire 77a0f4f
comment fix, etc.
clemire 6b3a2d8
Set dial timeout to something unikely to break in CI.
clemire 3bc054a
Polish uncancel before separating out to a separate PR.
clemire 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
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.
Comment is incorrect? But anyway it's redundant: it's pretty obvious from the code that this is sleep between pings.
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.
I'll take the comment out. In the meantime this PR is in a weird state because I'm trying to solicit more info about how the race condition bug is occurring and so it's regressing away from it's final state until I fix the issue causing the test flake.