Tell a caller which home it reached, and let clients hold one grant per home

Đang mở
#109 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
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, python, typescript

Hướng nghiên cứu

Start with the design docs and the Go, Python, and TypeScript client entry points; trace how Clone checks the grant audience and how each layer refuses a wrong-audience request. Add the home identity to every such refusal and have clients fetch grants by home, retry once after refusal, and discard the refused grant. Done means the listed tests cover each refusal layer, older admitted grants, and per-home fetch and retry behavior.

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

Mô tả

enhancement

A caller that reaches a Pod with a grant for another Pod gets only error text, so it cannot tell which grant to fetch. A rollout puts two Pods behind one Service, so #99 settled on one grant per Pod and a signal to fetch the one a caller lacks.

  • A wrong-audience Clone tells the caller which home answered, in machine-readable form.
  • Every wrong-audience refusal carries it, whichever layer refuses.
  • The Clone success path gains no work.
  • The Go, Python and TypeScript clients ask for a grant by the home it is for, on dial and once more after that refusal.
  • A client drops a grant a home refused before it asks again, so a same-named replacement Pod gets a fresh one.
  • The design docs and the three clients record the rule, one grant per home, fetch the one you lack, renew before the lease ends.
  • Tests cover the signal from each layer, a grant older than the admitted one still cloning, and a client asking once per home and once more after a refusal.
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.