Reload the dmq-node topology on SIGHUP
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
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- haskell
- Lĩnh vực
- backend, networking
Hướng nghiên cứu
Start with the startup topology read in dmq-node/app/Main.hs (lines 164–167) and the diffusion configuration in dmq-node/src/DMQ/Configuration.hs (lines 411–438); compare the linked cardano-node SIGHUP handler and topology update. Verify reload updates all three settings together and keeps the last valid values after a malformed file, as described in the issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Current behavior
dmq-node reads --topology-file at startup and initializes the local roots, public roots, and ledger peer policy used by diffusion. There is no SIGHUP handler to update those values, so operators have to restart the node to apply a topology edit. Startup topology read · Diffusion configuration
Expected behavior
On Unix, SIGHUP should reread the configured topology file. After a successful parse, update localRoots, publicRoots, and useLedgerAfterSlot in one STM transaction. If reading or parsing fails, trace the error and keep the last valid topology active. cardano-node already follows this pattern. SIGHUP handler · Topology update
Verification
- On a test instance, edit the local and public roots and change
useLedgerAfterSlot. Send SIGHUP and verify that the same process supplies all three new values to diffusion. - Introduce malformed JSON and send SIGHUP again. Verify that the node reports the error and continues using the previous values.
- Correct the file, send SIGHUP, and verify that the next reload succeeds.
The mutable useLedgerAfterSlot setting also matters for #89.
- Ngôn ngữ chính
- Haskell
- Star
- 2
- Fork
- 6
- Merge trung bình
- 9 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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.
Issue khác của IntersectMBO/dmq-node
-
Tracer & metrics improvementsĐang mởtracing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
IntersectMBO/dmq-node#91 ·
-
Ordinary ledger peer discovery misses smaller pools by sampling the big ledger peer snapshotĐang mởbig-ledger-peers bug peer-selection
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
IntersectMBO/dmq-node#89 · 1 bình luận ·
-
validation error countersĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 46/100
IntersectMBO/dmq-node#87 ·
-
Add tracersCó thể làm lại được @coot đã nhận 151 ngày trước và không có pull request nào đang mở. Đang mở
IntersectMBO/dmq-node#59 · 1 người được giao ·
-
documentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
IntersectMBO/dmq-node#26 · 1 bình luận ·
Tất cả issue của IntersectMBO/dmq-node
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
haskell/bytestring#730 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
seal-harness/seal-harness#399 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
add previously overlooked rulesĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
fmidue/codeworld-tasks#124 ·
-
allow haskell-src-exts-1.24Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
reflex-frp/reflex#563 ·