mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
![]() ## Why are these changes needed? <!-- Please give a short summary of the change and the problem this solves. --> This PR fixes the path to resubscribe to GCS when GCS restarts. When GCS restarts, it'll lose all subscription information since everything is stored in memory. Then in the runtime, we need to tell GCS what's currently being subscribed. The previous method: - We'll have a thread in core worker/raylet to check whether the GCS restarted or not. - If it restarted, we'll send resubscribe request to GCS. However, this is not working in these cases: - GCS restarts happen so fast so the checker in raylet/core worker missed them. - GCS doesn't restart, but just being lag due to network issues then, the resubscribe is not necessary. Actually, GCS knows when a resubscribe is needed: when it restarts. So the PR here is to send a resubscribe request from GCS -> Raylet and Raylet will do the resubscription. There are two parts for this to work: - [x] raylet send resubscription - [ ] raylet ask core worker to send resubscription |
||
---|---|---|
.. | ||
ray | ||
requirements | ||
asv.conf.json | ||
build-wheel-macos-arm64.sh | ||
build-wheel-macos.sh | ||
build-wheel-manylinux2014.sh | ||
build-wheel-windows.sh | ||
MANIFEST.in | ||
README-building-wheels.md | ||
requirements.txt | ||
requirements_linters.txt | ||
requirements_ml_docker.txt | ||
setup.py |