-
Notifications
You must be signed in to change notification settings - Fork 328
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
move create database to procedure #3591
Comments
Would you add some refer impl like how other procedure are implemented? |
Yes, a typical procedure looks like this: greptimedb/src/common/meta/src/ddl/create_table.rs Lines 316 to 350 in 623c930
And more procedures can be found here |
Hi @WenyXu , I'd like to give it a try. |
Have fun |
I've made some efforts in the past few days. Since It's my first time diving into greptimedb, I think it would be better to make it clear before taking actions. Here are my findings and confusions:
Would you mind giving me some advice @WenyXu ? Thanks a lot. |
Nope, we should define the protobuf in the greeting-proto firstly.
Don’t worry, creating database only requires to create the metadata. Check current logical of the database creation. |
What type of enhancement is this?
Refactor, Tech debt reduction
What does the enhancement do?
We introduced multiple-level locks in the procedure, and all DDL operations should acquire all related locks during the execution. After implementing #3516, we should refactor the database creation into a procedure.
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: