強化刪除扇區功能 #4767
seantw1974
started this conversation in
Ideas
強化刪除扇區功能
#4767
Replies: 3 comments 1 reply
-
venus暂时继承了lotus删除扇区的方法。产品会进一步讨论删除扇区的优化方式。当前的话,可以参考这个文档,来确保删除扇区。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
這篇文章只是基礎操作,大概只有適用90%狀況,在一直刪除不了情況下,曾經使用update-state去不斷的修正,有些扇區根本不會回應update-state指令,最後只能直接動SQLite檔案,最後再確認盤的鏈上狀態.…。
Yu ***@***.***>於 2022年2月16日 週三,下午5:32寫道:
… venus暂时继承了lotus删除扇区的方法。产品会进一步讨论删除扇区的优化方式。当前的话,可以参考这个文档
<filecoin-project/lotus#6950>,来确保删除扇区。
—
Reply to this email directly, view it on GitHub
<#4767 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVTHC4NL4JSKKWAIPJPRVTU3NVKNANCNFSM5ONR2WXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@diwufeiwen moulijian大神,这个有办法优化吗?针对@sean提出的这个问题? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前扇區刪除分為Terminate(己上鏈),及Remove(未上鏈)兩種,但使用者往往會"錯誤操作"
建議統一合併為Remove, 在刪除前程式可以自己查詢扇區是否己上鏈, 再從內部執行原生的 Terminate/Remove
另外多種狀況下的扇區是無法被刪區,會一直卡住, 目前己知State 有 Packing(在Packing過程斷線,或是在/var/tmp裡沒放pieces檔造成), Deal封裝過程Packing失敗(之前是因為16G/32G扇問題), Final(ComittWait已執行,但因系統重裝或其它問題,造成檔案無法Final至存儲碟),針對這些"問題扇" 應該要有更佳的解決方式, 因此強烈建議要有 Force Delete的功能
Beta Was this translation helpful? Give feedback.
All reactions