cloudflare / cloudflare/developer-platform

D1 crashes indefinitely when trying to export database with Virtual Tables (fts5)

オープン
#11 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
product:d1
主要言語
言語のデータがありません
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

### What versions & operating system are you using?

4.19.1

### Please provide a link to a minimal reproduction

_No response_

### Describe the Bug

If you try to export a remote database that has virtual tables on it, the export will fail and the database will become completely inaccessible.

The database will throw an error for any query received and it also won't load in the dashboard.

### Please provide any relevant error logs

✘ [ERROR] D1 Export error: cannot export databases with Virtual Tables (fts5)

And then, for any query received:

D1_ERROR: Currently processing a long-running export.

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

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

調査の方向性

D1 のエクスポートパスから開始し、fts5 仮想テーブルを含むリモートデータベースのエクスポートを再現します。報告されたエクスポートエラー、その後のクエリエラー、ダッシュボードの読み込み動作を確認します。エクスポートの失敗によってデータベースにアクセスできない状態が残らなくなれば完了です。

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

評価

技術スタック
sqlite
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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