[Feature] Deployments with limited history should not keep history during syncing
還沒有人認領這個 Issue。
評估
研究方向
首先追蹤將 deployments 與 history_blocks 同步時使用的實體更新與儲存路徑;該 issue 未指定具體的檔案或測試。確認超出設定的歷史視窗後版本是如何保留的,然後新增涵蓋測試,表明早於該視窗的更新會覆寫先前的實體版本,而視窗內的歷史記錄仍然可用。
由索引模型根據 Issue 內容生成。
描述
Description
When syncing a subgraph that has limited history, i.e. has history_blocks set, we should not keep any history while we are syncing more than history_blocks away from the chain head. When storing an update to an entity, simply overwrite the old version of the entity instead of keeping the old and the new version.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out
- Tick this box if you plan on implementing this feature yourself.
- I have searched the issue tracker to make sure this issue is not a duplicate.
- 主要語言
- Rust
- 星號
- 3.2k
- 分支
- 1.1k
- 平均合併
- 4 天 1 小時
- 30 天內合併 PR
- 1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
graphprotocol/graph-node 的其他 Issue
-
current: include emits an all-null bucket for dimensionless aggregations, nulling the whole response 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
graphprotocol/graph-node#6719 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
graphprotocol/graph-node#6673 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
graphprotocol/graph-node#6650 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 48/100
graphprotocol/graph-node#6722 ·
-
難度 3/5 1-2 天 新手友好度 68/100
graphprotocol/graph-node#6721 ·
查看 graphprotocol/graph-node 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 1/5 1 小時以內 新手友好度 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
難度 2/5 1-3 小時 新手友好度 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
難度 2/5 1-3 小時 新手友好度 68/100