You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[core] GCS never retries DB request and thus low availability. #34014
When GCS sends request to Redis, it never retries, so it'll crash even when single request failed. Single request failed is total normal even the DB cluster is high available.
Blindly retry the request won't work out of box because in GCS requests are sent in ordering and we need to ensure the order is correct even with retry.
For example, actor is ready and actor is dead, the ordering is strict. If actor is ready is resent and executed after actor is dead this is going to be wrong.
This either can be fixed in GCS application side or fixed in GCS StoreClient side.
To reduce the developer's burden, fixing it in StoreClient might be better.
Rough ideas for this:
For each write, k => v. If there is a writing happening, cache this and writing after the ongoing one finished.
If the cache has ops, overwrite this.
callbacks work as before.
Once it's built, retry should be enabled in redis client side.
Versions / Dependencies
Master
Reproduction script
Make Redis reject on request from GCS.
Issue Severity
Medium: It is a significant difficulty but I can work around it.
Activity
[core] Serialize requests in redis store client. (#35123)
[core] Retry failed redis request (#35249)
[core] Retry failed redis request (ray-project#35249)
[core] Retry failed redis request (#35249) (#35481)
rebase wasm-on-ray branch to latest master (#35727)
[core] Retry failed redis request (ray-project#35249)
[core] Serialize requests in redis store client. (ray-project#35123)
[core] Retry failed redis request (ray-project#35249)