Do we need references to pending records?

Đang mở
#61 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start with the README’s “References” section, users.md, and the batch application design in issue #33; this issue does not name implementation files or tests. Decide whether pending-record references are needed for batches that submit chained reductions and then close their client. Done means the project has made that decision when the code is next touched or the batch application is designed.

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

Mô tả

A request may reference an output of a record that is still pending, so a chain is submitted without waiting (README, "References"; stories S4 and C1):

centre = client.submit(BEAM_CENTRE, BeamCentreParams(...))     # pending
samples = client.submit([Request(IOFQ, IofQParams(centre=centre.ref('centre'), ...)) for ...])

The requirements know chaining (users.md: a beam centre feeds the sample reductions, and a person may chain by hand), but not chaining without waiting. A notebook can wait for the centre before it submits the samples. The backend pays for the pending case with dependents, waking, and the failure of a dependent when what it reads fails.

The case that may force it is batch reduction: a batch whose configuration chains reductions (users.md, "the result of one reduction sometimes feeds later ones") and whose client closes after submitting, as overnight batches do. Without pending references, such a batch needs a driver that stays alive to submit the later stages.

Decide when that code is next touched, or when the batch application is designed (#33). Moved from #28.

Ngôn ngữ chính
Python
Star
0
Fork
1
Merge trung bình
9 giờ 23 phút
Pull request đã merge (30 ngày)
65

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

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 scipp/essapps

Tất cả issue của scipp/essapps

Issue tương tự

Thêm issue về Python

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.