Terminate gracefully
還沒有人認領這個 Issue。
評估
研究方向
首先追蹤 run_node 結尾的終止路徑,包括資源如何釋放,以及資料庫如何參與其中。確定必要的釋放順序,並檢查現有的關閉相關測試或進入點(如果有)。當終止程序能在沒有 panic 的情況下完成,且不會有資料庫損毀的風險時,即視為完成。
由索引模型根據 Issue 內容生成。
描述
The current way of terminating Foundry is to drop all resources at the end of run_node function.
Since we didn't care about the order of drop, sometimes Foundry panics in the termination process since other resources are dropped without expectation.
In the worst case, the database can be corrupted in the termination process.
- 主要語言
- Rust
- 星號
- 257
- 分支
- 50
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeChain-io/codechain 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 25/100
CodeChain-io/codechain#2002 ·
-
難度 4/5 3-5 天 新手友好度 35/100
CodeChain-io/codechain#1993 · 2 則留言 ·
-
performance rpc
難度 4/5 3-5 天 新手友好度 35/100
CodeChain-io/codechain#1973 ·
-
難度 3/5 1-2 天 新手友好度 35/100
CodeChain-io/codechain#1971 ·
-
performance rpc
難度 4/5 3-5 天 新手友好度 25/100
CodeChain-io/codechain#1970 ·
查看 CodeChain-io/codechain 的全部 Issue
相似的 Issue
-
C-bug
難度 2/5 1-3 小時 新手友好度 78/100
rust-lang/rust-analyzer#23501 ·
維護者通常 1 天內回覆
-
Streamable HTTP client: a 401 or 403 with a JSON-RPC error body and no WWW-Authenticate loses its HTTP status可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug P2 ready for work T-security T-transport
難度 2/5 1-3 小時 新手友好度 68/100
modelcontextprotocol/rust-sdk#1339 ·
維護者通常 3 天內回覆
-
scripts/gen-gallery.py:118: a ready session now reports in_progress, so SESSION_READY_OLD can go未關閉nightly-audit
難度 2/5 1-3 小時 新手友好度 84/100
antithesishq/snouty#396 ·
維護者通常 1 天內回覆
-
French BIP39 wordlist starts with a UTF-8 BOM, so generated French mnemonics carry U+FEFF and derive a non-canonical seed可能已有人在做 @Kshot3000 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 91/100
ergoplatform/sigma-rust#976 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆