graphprotocol / graphprotocol/graph-node
[Help] Do non-fatal errors get unfailed?
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Rust
- Star
- 3.2k
- Fork
- 1.1k
- Merge trung bình
- 4 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
Description
I'm trying to better understand how graph node handles subgraph failures and I learned that graph node automatically unfails subgraphs on initialization and during other aspects of the subgraph lifetime.
Based on this comment and this comment it seems that only fatal errors are unfailed while non-fatal errors persist. Is that correct?
Is there a way to query the database and know if a subgraph will be unfailed at some point in the future or is that managed entirely through in memory?
Ninja edit: it seems that non-fatal errors can get wiped too eg here and here where None is passed to the non_fatal_errors vector - might this be a bug?
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với các phần được tham chiếu của store/postgres/src/deployment_store.rs, đặc biệt là các dòng xử lý lỗi nghiêm trọng và không nghiêm trọng. Theo dõi cách trạng thái thất bại của subgraph và vector non_fatal_errors được lưu bền vững và xóa, sau đó xác định liệu hành vi quan sát được là có chủ ý hay là một bug, và trạng thái cơ sở dữ liệu nào, nếu có, dự đoán việc không thất bại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- postgres, rust
- Lĩnh vực
- backend, databases
- Loại issue
- Lỗi
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100