-
Notifications
You must be signed in to change notification settings - Fork 645
Implement graceful shutdown for Garnet server ( #1382 ) #1551
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
Open
yuseok-kim-edushare
wants to merge
59
commits into
microsoft:main
Choose a base branch
from
yuseok-kim-edushare:yuseok-kim/graceful_shutdown
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
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
5901c4f
Implement graceful shutdown for Garnet server
yuseok-kim-edushare 9ea9339
Update hosting/Windows/Garnet.worker/Program.cs
yuseok-kim-edushare 7731df6
Update libs/host/GarnetServer.cs
yuseok-kim-edushare 597ec57
Update main/GarnetServer/Program.cs
yuseok-kim-edushare 9e168f4
Update main/GarnetServer/Program.cs
yuseok-kim-edushare 67a7f2e
Update main/GarnetServer/Program.cs
yuseok-kim-edushare 5b25407
Update libs/host/GarnetServer.cs
yuseok-kim-edushare 476d629
🐛 Resolve Race Condition risk in "StopListening" impl at GarnetServer…
yuseok-kim-edushare 9bf52de
✅ add test for gracefulshutdown about main/garnetserver
yuseok-kim-edushare 11d115b
🐛 Fix risk of shutdown handler remaining
yuseok-kim-edushare 3b3df07
✏️ fix by dotnet format
yuseok-kim-edushare 2489995
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare 9d5017a
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare 5eb025c
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare ff37e9b
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare c542789
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare efd4c75
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare 0b113a7
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare 19b1a13
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare d77bd6b
✅🔀 Fix Test with Allure related Requirements (reflect #1457)
yuseok-kim-edushare f14fb2c
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare c8da690
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare 2e9a53b
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare 30fc80d
Merge branch 'main' into feat/graceful_shutdown
yuseok-kim-edushare 3177001
⏪ Revert : Windows Service shutdown timeout custom
yuseok-kim-edushare 920c328
Use long for active connection count
yuseok-kim-edushare 8ea0c24
minor perf fix in connection counting
yuseok-kim-edushare bf05d23
Use linked CancellationTokenSource for shutdown wait
yuseok-kim-edushare 01a2547
update log levels infomation -> debug for perfomance inhancing
yuseok-kim-edushare 65b1391
minor bug risk of cancelled canclationToken provide into finally
yuseok-kim-edushare 5145094
🧪 temporal test code save (test for gracefull shutown in single insta…
yuseok-kim-edushare cf9c997
Fix Program.CS main method refine
yuseok-kim-edushare 514456c
Update libs/host/GarnetServer.cs
yuseok-kim-edushare db633e3
Update test/Garnet.test/GarnetServerTcpTests.cs
yuseok-kim-edushare de4e462
Update main/GarnetServer/Program.cs
yuseok-kim-edushare 74f1c0a
Apply suggestion from @Copilot
yuseok-kim-edushare 7bb2ab2
Fix about copilot's concern about race conditions
yuseok-kim-edushare 7cb1e9c
fix issue claimed by copilot
yuseok-kim-edushare 2530260
🔥 remove duplicated test
yuseok-kim-edushare 784f630
Fix Test code running flow
yuseok-kim-edushare bc6580d
Fix test codes to reflect copilot's suggestions
yuseok-kim-edushare e9b0a3e
✨Add noSave Arg to Server.ShutdownAsync()
yuseok-kim-edushare aaaf45b
Add shutdown data consistency tests
yuseok-kim-edushare 714c2f6
Rearrange AOF commit and checkpoint during Data saving
yuseok-kim-edushare 08e48a2
Save data only once during single shutdown process
yuseok-kim-edushare c6fcb19
Remove isListening Flag
yuseok-kim-edushare 4ccad8e
✏️ Fix format
yuseok-kim-edushare d37ad7c
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare 60faf96
✏️ Fix comment about infomational Test
yuseok-kim-edushare e0616b7
Merge branch 'yuseok-kim/graceful_shutdown' of https://github.com/yus…
yuseok-kim-edushare 36a85b9
Skip graceful save on forced shutdown
yuseok-kim-edushare d29c716
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare b7d4d25
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare 42d7bd2
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare e6be406
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare 1a2fff7
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare fccbbd0
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare 6c883a2
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare 6d97896
Merge branch 'main' into yuseok-kim/graceful_shutdown
yuseok-kim-edushare 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 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.