Silo should forward request when asked to shutdown
- Dominant language
- C#
- Stars
- 10.9k
- Forks
- 2.1k
- Avg merge
- 14h 42m
- Merged PRs (30d)
- 354
Description
If I'm not mistaken, when a silo properly shutdown (not stop) it should:
1. Finish the requests that are being processed on locally activated grains (requests that were started to process before shutdown was called)
2. Then forward the remaining non processed requests to another silo so they can be completed by someone else
It seems that step 2. is not properly done. In this test https://github.com/benjaminpetit/orleans/commit/53631d95df931e6c416170d92bd6b4caeb0b1f45 the `await promisesAfterShutdown` throws `TimeoutException`
Am I missing something?
Contributor guide
Research direction
Start with the shutdown test at commit 53631d95df931e6c416170d92bd6b4caeb0b1f45, focusing on the promisesAfterShutdown timeout. Trace silo shutdown handling and request forwarding from that test. Done means locally started requests finish and remaining requests are forwarded to another silo so the promises complete without a TimeoutException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100