-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
VReplication: Improve handling of vplayer stalls #15797
Merged
mattlord
merged 40 commits into
vitessio:main
from
planetscale:vplayer_batch_trx_timeout
Jun 14, 2024
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
bee30d4
Improve handling of vplayer stalls
mattlord 6e929fe
Add progress timer and test
mattlord 5f05388
Fix table name logging
mattlord e9e5fc5
Make error handling concurrency safe
mattlord b72bfbe
More tweaks from self review
mattlord ae275a5
Lower progress timeout as the overall stall time is a multiple
mattlord 99e2d86
Move progress tracking to vplayer
mattlord d4517f2
Only use the stall detection for replicated user events
mattlord c54c507
Merge remote-tracking branch 'origin/main' into vplayer_batch_trx_tim…
mattlord fe85d9f
Tweak test a bit
mattlord 61c2b73
Try to deflake CI runs
mattlord d00ff6c
WiP for row based unit test case
mattlord b45ac01
Derace work
mattlord 000e5bc
Add a flag for this new behavior, which will later be disabled by def…
mattlord 196bab8
Improve heartbeat management and errors
mattlord 356e2c0
Update help text
mattlord e60b61b
Add ROW based test case and correct vtcombo help output
mattlord 24af4aa
Test and error message corrections/improvements
mattlord f496bdf
Use better flag name
mattlord eeb2ee9
Reset min heartbeat interval
mattlord fb25daa
Changes after self review
mattlord 729cf34
Minor changes from second self review
mattlord 341e232
Merge remote-tracking branch 'origin/main' into vplayer_batch_trx_tim…
mattlord 1749d3d
Remove explicit schema reload
mattlord 5075125
Fix goroutine leak
mattlord 7b5c4c5
Move progress-deadline from tablet flag to workflow option
mattlord fb0f29e
WiP
mattlord b060e09
Revert move to workflow option work
mattlord bfd67e5
Reapply vplayer improvement reverted from flag work
mattlord eeba51b
Reapply one other comment improvement
mattlord 3839e90
Add leak checking unit test
mattlord d2fea8d
Add a few more expected TestMain goroutines to ignore list
mattlord c666b14
Remove stallHandler related code
mattlord 0e88d6c
Re-add vplayer-progress-deadline and use it in relayLog
mattlord 94877d2
Correct flag help output
mattlord a79516f
Minor changes after self review
mattlord 8ea60a1
Merge remote-tracking branch 'origin/main' into vplayer_batch_trx_tim…
mattlord c192cc4
Kick DCO
mattlord 5d4219c
Remove the flag since you shouldn't ever need to chane it
mattlord a81887a
Merge remote-tracking branch 'origin/main' into vplayer_batch_trx_tim…
mattlord 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.
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.
This is an unrelated logging improvement request made directly via Slack.