HelloZeroNet / HelloZeroNet/ZeroNet
name 'filter_storage' is not defined
- 主要言語
- JavaScript
- スター
- 18.8k
- フォーク
- 2.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Step 1: Please describe your environment
* ZeroNet version: 4486
* Operating system: Raspbian
### Step 2: Describe the problem:
Already 20 minutes avery second or every a few seconds i see errors for site 1ADQAH*:
> ERROR Site:1ADQAH..g6aA Error deleting data/users/usernamehere/src/filenamehere.jpg: name 'filter_storage' is not defined
interesting is to me that this is on a SSD drive (so i would expect faster progress). But "htop" linux command shows single CPU thread out of 4 is overutilized by the zeronet.py
i think that these errors appears after starting zeronet with content.db and chart.db removed. And also when shm and wal db files are not present. I do not know how to properly start ZN so it rebuild databases from files (there are .db .db-wal .db-shm files) #2551
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず Python コードベースで filter_storage を検索し、影響を受けるサイトのデータ削除パスを追跡します。WAL/SHM ファイルが存在しない場合に content.db と chart.db がどのように再構築されるかを確認します。繰り返し発生する削除エラーが発生しなくなり、リカバリ動作が検証されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend, databases
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100