Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Enterprise license with bootstrap implementation #11153

Merged
merged 16 commits into from
Apr 28, 2023

Conversation

ZhiHanZ
Copy link
Collaborator

@ZhiHanZ ZhiHanZ commented Apr 20, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

This pull request updates the licensing of Databend's enterprise features by adopting the Elastic v2 license for all files under the ee directory. This change is in line with our goal to build a business around the open-source Databend project while adhering to an Open Core business model.

Background

Databend Labs has been actively contributing to the open-source community through various projects, such as Parquet, OpenDAL, and OpenRaft. Our mission is to provide a high-performance, reliable, and easy-to-use data infrastructure for all users. As we continue to grow and develop Databend, we believe that adopting an Open Core business model will allow us to sustain and accelerate our project's growth.

License Change Details

This pull request makes the following changes to the licensing of Databend's enterprise features:

  1. All files under the ee directory will now be protected by the Elastic v2 license.
  2. The Elastic v2 license will apply specifically to enterprise features, while the rest of the Databend project will remain open-source under Apache 2.0 License and free to use.
  3. Community users who have OSS concerns could also build Apache 2.0 License Only binary distribution named databend-query-oss and databend-meta-oss

Clarification for OSS Enthusiasts

We want to clarify that this change is not intended to limit the adoption or contributions of open-source enthusiasts. The Elastic v2 license imposes only two limitations on databend users:

  1. cannot use Databend as a hosted or managed service.
  2. cannot change or modify the license key.

We encourage community users to continue adopting, using, and contributing to Databend without any restrictions. Your contributions are essential to the project's success, and we appreciate your ongoing support.

Frequently Asked Questions (FAQ)

Q: Will current users be affected by this license change?

A: No, current users will not be affected by this license change, as we have not yet published our enterprise functionalities. The Databend project will continue to be open-source and freely available for the majority of users. This license change only applies to future enterprise features that will be introduced under the ee directory.

Thank You

We would like to extend our gratitude to everyone who has provided suggestions and feedback regarding this change. Your input is invaluable, and we're excited to continue working together to make Databend the best data infrastructure solution possible. Special thanks to

  • @c4pt0r Dongxu Huang, Co-Founder of PingCAP, for sharing his experiences around open source and for taking the time to walk around open source business models.
  • @tisonkun from Apache Software Foundation for sharing his profound knowledge of different license adoptions and use cases, which ultimately made us convinced that the Elastic V2 License is the best fit for our use case
  • Thanks to @Xuanwo,The PPMC of Apache OpenDAL, for helping us better understand OSS in general

Please feel free to reach out if you have any questions or concerns about this pull request or the license change.

@vercel
Copy link

vercel bot commented Apr 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
databend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2023 4:07am

@mergify
Copy link
Contributor

mergify bot commented Apr 20, 2023

This pull request's title is not fulfill the requirements. @ZhiHanZ please update it 🙏.

Valid format:

fix(query): fix group by string bug
  ^         ^---------------------^
  |         |
  |         +-> Summary in present tense.
  |
  +-------> Type: rfc, feat, fix, refactor, ci, docs, chore

Valid types:

  • rfc: this PR proposes a new RFC
  • feat: this PR introduces a new feature to the codebase
  • fix: this PR patches a bug in codebase
  • refactor: this PR changes the code base without new features or bugfix
  • ci: this PR changes build/testing/ci steps
  • docs: this PR changes the documents or websites
  • chore: this PR only has small changes that no need to record

@ZhiHanZ ZhiHanZ changed the title Feat: add Enterprise license with bootstrap implementation feat: add Enterprise license with bootstrap implementation Apr 20, 2023
@ZhiHanZ ZhiHanZ requested review from BohuTANG, PsiACE and Xuanwo April 20, 2023 10:31
@mergify mergify bot added the pr-feature this PR introduces a new feature to the codebase label Apr 20, 2023
@ZhiHanZ ZhiHanZ requested review from flaneur2020 and lichuang April 20, 2023 10:31
@flaneur2020
Copy link
Member

LGTM

@Xuanwo
Copy link
Member

Xuanwo commented Apr 20, 2023

4. Separately build enterprise version(databend-query) and oss version (databend-query-oss)

How about databend-query and databend-query-enterprise? So our community users won't download enterprise binaries by mistake. There are many existing download scripts depends on this.

.licenserc.yaml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/binaries/Cargo.toml Outdated Show resolved Hide resolved
licenses/dcl.md Outdated Show resolved Hide resolved
@ZhiHanZ ZhiHanZ marked this pull request as draft April 21, 2023 02:34
@ZhiHanZ ZhiHanZ requested a review from b41sh April 26, 2023 08:42
@ZhiHanZ ZhiHanZ marked this pull request as ready for review April 26, 2023 08:42
Copy link
Member

@PsiACE PsiACE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM.

I thought we could write some FAQ's, ref: https://docs.airbyte.com/project-overview/licenses/license-faq/

Copy link
Contributor

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Comments inline.

README.md Outdated Show resolved Hide resolved
licenses/README.md Outdated Show resolved Hide resolved
licenses/README.md Outdated Show resolved Hide resolved
src/binaries/query/oss.rs Outdated Show resolved Hide resolved
src/common/license/src/lib.rs Outdated Show resolved Hide resolved
@ZhiHanZ
Copy link
Collaborator Author

ZhiHanZ commented Apr 27, 2023

Mostly LGTM.

I thought we could write some FAQ's, ref: https://docs.airbyte.com/project-overview/licenses/license-faq/

would definitely do it once enterprise feature delivered

@ZhiHanZ ZhiHanZ requested a review from tisonkun April 27, 2023 03:01
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM!

@flaneur2020
Copy link
Member

LGTM 🚀

Copy link
Contributor

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go :D

Copy link
Member

@BohuTANG BohuTANG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZhiHanZ ZhiHanZ marked this pull request as draft April 28, 2023 02:29
@ZhiHanZ ZhiHanZ requested a review from drmingdrmer April 28, 2023 03:33
Copy link
Member

@drmingdrmer drmingdrmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well-organized and thorough

@ZhiHanZ ZhiHanZ marked this pull request as ready for review April 28, 2023 04:05
@ZhiHanZ ZhiHanZ marked this pull request as draft April 28, 2023 04:13
@ZhiHanZ ZhiHanZ marked this pull request as ready for review April 28, 2023 04:20
@BohuTANG BohuTANG merged commit bf3f24b into databendlabs:main Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants