Add a warning about the combination of gRPC Proxy and Journal Storage#6097
Conversation
|
We can see the rendering results in https://optuna--6097.org.readthedocs.build/en/6097/reference/generated/optuna.storages.GrpcStorageProxy.html#optuna.storages.GrpcStorageProxy.
|
|
I thought twice and moved the warning from the client document to the server one, as users specify the storage there. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6097 +/- ##
==========================================
- Coverage 88.35% 88.27% -0.08%
==========================================
Files 207 207
Lines 13995 13995
==========================================
- Hits 12365 12354 -11
- Misses 1630 1641 +11 ☔ View full report in Codecov by Sentry. |
|
The updated documentation looks good to me. By the way, I was wondering if it would be better to add a warning message in |
|
Thank you very much for your feedback. |
sawa3030
left a comment
There was a problem hiding this comment.
Thank you for the explanation. LGTM

Motivation
This PR adds a warning to the
GrpcStorageProxyclass documentation to clarify a known limitation regarding unsupported storage types. The corresponding issue is #6084.Description of the changes
Design choices
JournalStoragefails frequently in distributed optimization setups in combination withGrpcProxyStorage#6084).IMHO, we can move this warning as well as the warning about SQLite3 to the reference ofThe warning should be placed in the server-side document. I fixed the PR in the commit of 2f24020.run_grpc_proxy_serversince users specify the storage there. Regarding consistency, I placed this warning in theGrpcStorageProxyreference.RDBStorageis enabled when it is created via theget_storagefunction.