databend
databend copied to clipboard
rfc: add share rfc
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
docs: add share rfc
Fixes https://github.com/datafuselabs/databend/issues/7058
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
databend | ✅ Ready (Inspect) | Visit Preview | Aug 12, 2022 at 3:07AM (UTC) |
FYI: This PR's type is rfc
, which requires three approval to be merged.
Added reviewers: @Xuanwo @ZhiHanZ @flaneur2020 @drmingdrmer
It would be better to introduce the share with consumers and producers model.
Like the chapter of DDL for shares
is producers operation, and CREATE DATABASE <name> FROM SHARE <provider_tenant>.<share_name>
is comsumer operation.
For a consumer, we should make some questions to be clear:
- what are the privileges(permission) for the shared database shared by the producer?
- what will happen to the producer when the consumer
drop the <shared-database>
? - what will happen to the consumer if the producer drops the shared database?
It would be better to introduce the share with consumers and producers model.
Created an issue https://github.com/datafuselabs/databend/issues/7094 to track this.