Closed DirectX closed 1 year ago
Here is experiment of setting up fresh environment from scratch on DigitalOcean's node (8 GB Memory / 160 GB Disk / FRA1 - Ubuntu 22.10 x64)
This uncut workflow is very same as described above + all necessary prerequisites for fresh LTS Ubuntu release. https://drive.google.com/file/d/1kiKFoRbQ2x_MuQkzfklc6efUN_wgvPOJ/view?usp=drive_link
If I'm wrong at any stage feel free to point this out with timestamp. If I miss some pitfall it's worth to mention in docs because it is not so obvious.
Hello, thanks for the issue, I will check it
@DirectX hello. Thanks for the issue.
I reproduce the problem with latest image, it will be fixed.
Now as workaround you can use image cr.yandex/yc/yandex-docker-local-ydb:stable-22-5 for tests.
Hi, @rekby,
Thanks for solution. Workaround works fine. Waiting for next release.
The problem fixed in v0.6.1.
I've not been able to use Rust driver as in examples on any of three tested Linux machines:
Ubuntu 21.04 hirsute server
,Ubuntu 23.04 lunar desktop
,Debian GNU/Linux 11 (bullseye) server
. After making application as in examples the program is being stuck atclient.wait().await?;
line. Docker logs shows at the moment the error:This behavior is actual for YDB local binary installation, local Docker installation as well as for YDB managed service.
Steps to reproduce
Prerequisites
YDB CLI
YDB Docker Installation
docker-compose.ydb.yaml
Checking CLI
At this moment CLI access is working. Web UI Client http://localhost:8765 works as well. If testing local binary installation database name must be changed from
/local
to/Root/test
.Checking Rust Toolchain Version
YDB Demo Application
Changes made to the default empty app:
Cargo.toml
src/main.rs
Expected Result
Actual Result
Addition
The very same code written with Go YDB SDK on the same machines works perfectly fine without GRPC error on Doker side:
Output:
Rust equivalent:
Output:
Output after intentional commenting out
client.wait().await?;
line:what was expected.