4paradigm / 4paradigm/OpenMLDB

Pre-aggr table still exists if deploy failed

オープン
#1,669 コメント 4 件 リアクション 0 件 担当者 1 名 @zhanghaohit が担当を希望しています GitHub で見る
bug high-priority storage-engine
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。