Retry or quarantine a failed release before freeing its slot

Đang mở
#70 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes, linux

Hướng nghiên cứu

Read docs/production-readiness.md and the owner document docs/design/core.md, then trace how yield, scope loss, and epoch bumps release fibers and how fiberd updates the ledger. Add a table test with a failing runtime to verify that the slot remains taken after a failed release; completion means fiberd retries release and frees the slot only after runtime confirmation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

A yield, a scope loss and an epoch bump each release fibers through the runtime. When that release fails, fiberd logs it and still drops the fiber from the ledger. The sandbox can keep running while its slot under fibers.max is handed to a new clone, so a home can run more fibers than its grant allows.

Wanted.

  • A failed release keeps its slot. The fiber is marked quarantined in the ledger.
  • fiberd retries the release, and frees the slot only once the runtime confirms.
  • A table test with a failing runtime shows the slot stays taken.

Listed as a blocker in docs/production-readiness.md. Owner doc docs/design/core.md.

Ngôn ngữ chính
Go
Star
5
Fork
5
Merge trung bình
15 giờ 27 phút
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/fiberd

Tất cả issue của Azure/fiberd

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.