-
Notifications
You must be signed in to change notification settings - Fork 845
fix(scheduler): Scheduler wait on server connect #5930
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
Merged
sakoush
merged 41 commits into
SeldonIO:v2
from
sakoush:INFRA-747/scheduler_wait_server_connect
Sep 24, 2024
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
f74b510
start envoy xDS server last
cf951b8
orginise starter cmd for scheduler
c0dba90
Add synchroniser interface and simple timerbased impl
910bd6d
seperate out logic when agent connects
466234b
integrate simple synchroniser in code
0ec9e99
add first sync option to ServerNotify
e18a89e
Adjust controller to set isFirstSync
911e1ff
allow servernotify initial sync to start the sync process in scheduler
b49389c
rename start to signal in synchroniser
5acae2f
fix test
7d05519
add test for ServerNotify
a844fa5
change interface to allow for number of signals to wait for
289ad9e
Changes from #5886 (to include server events)
5994b9a
add testing for servers (and other events) in hub
29f69b1
add test for AddServerReplica
f332a6a
add server sync impl
f08d21b
Add test for server sync
80fbf62
add more testing coverage
9ac48a8
Add logging
72c6058
Wireup server changes in starter cmd
9b997d0
Add extra logging
564d1cc
Skip logging if not required
9f8676e
Start timer from the begining.
e87a7d0
tidy up logic and add more tests
e4d1d34
wire up simple sync for the non k8s case
f27bb4e
use waut group instead of a channel for sync
3de7efc
tidy up log messages
d37e187
fint fixes
c4bb39b
set default timeout for scheduler readiness in docker-compose setup
98522fe
add explicit envar for scheduler ready timeout (compose)
27e0fe8
fix lint
c196324
fix test
f33d980
add architecture design at the start of the file for server sync
c1abd3b
Add new line
ecc8eec
tidy up name in test
995d78a
Add parametrisation for helm for SCHEDULER_READY_TIMEOUT_SECONDS
a329f91
add log message for variable
4ca58df
add note why xDS starts last
92bbf64
add extra wait for routes to be established.
3e31279
tidy up event hub code
2f66806
tidy up event handling code
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.