4paradigm / 4paradigm/OpenMLDB

Pre-aggr table still exists if deploy failed

Đang mở
#1,669 4 bình luận 0 reaction 1 người được giao Được @zhanghaohit nhận Xem trên GitHub
bug high-priority storage-engine
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

**Bug Description**
Now we create the `pre-aggr` table before `CreateProcedure`. If `CreateProcedure` fails, we didn't delete the related pre-aggr tables.

**Expected Behavior**
We should delete the `pre-aggr` table if `CreateProcedure` fails.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look for the code that creates the pre-aggr table and the CreateProcedure operation. The issue is about ensuring cleanup on failure. Search for error handling around table creation and procedure creation. Check if there are existing tests for deployment failures to understand the expected behavior. The fix involves adding rollback logic to delete the pre-aggr table if CreateProcedure fails.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
sql
Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.