ydb initial

https://github.com/chrislusf/seaweedfs/issues/2942
This commit is contained in:
Konstantin Lebedev
2022-05-01 17:28:58 +05:00
parent b2a96cee21
commit 275c3bb19c
5 changed files with 521 additions and 0 deletions

27
weed/filer/ydb/readme.md Normal file
View File

@@ -0,0 +1,27 @@
## YDB
database: https://github.com/ydb-platform/ydb
go driver: https://github.com/ydb-platform/ydb-go-sdk
options:
```
[ydb]
enabled=true
db_name="seaweedfs"
servers=["http://localhost:8529"]
#basic auth
user="root"
pass="test"
# tls settings
insecure_skip_verify=true
```
get ydb types
```
ydbgen -dir weed/filer/ydb
```
i test using this dev database:
`make dev_ydb`