traffic_ctl: apply --error-level to config reload results
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
#13032 adds traffic_ctl --error-level, which sets the exit status of a JSONRPC handler failure from the most severe data entry. A config reload outcome is not a JSONRPC error. It comes back inside a successful result, as a task state plus task logs, so the level does not apply to it.
Today:
config reload --monitorexits 2 when the task endsfailortimeoutand 0 onsuccess, whatever its log entries say.--error-level=warncannot make a reload with warnings fail, and--error-level=fatalcannot relax afail.config statusexits 0 for every task it prints, whatever its state.
Each log entry already carries its DiagsLevel (ConfigReloadResponse::LogEntry::level), so both commands could grade a finished reload by its most severe entry.
To decide:
- the grade of a
failtask that has no entry at or above the level, or no entries at all; timeout, which has no severity of its own;- whether sub-task entries count, and the state-change entries (
DL_Undefined); config status --count N: one grade over every printed task, or the latest one only;- how
config status --min-level(a display filter) and--error-levelrelate.
Raised in https://github.com/apache/trafficserver/pull/13032#pullrequestreview-5420904089.
- Ngôn ngữ chính
- C++
- Star
- 2k
- Fork
- 878
- Merge trung bình
- 3 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 91
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 apache/trafficserver
-
Bug HTTP Support
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
apache/trafficserver#13118 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Branch build clones: mirror stalls, clone timeout and controller memoryCó thể đã có người làm @bryancall đã nhận 1 ngày trước. Đang mởCI
apache/trafficserver#13839 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
header_rewrite: rm-destination after set-destination URL crashes traffic_serverCó thể đã có người làm @moonchen đã nhận 10 ngày trước. Đang mởBug Crash header_rewrite Plugins
apache/trafficserver#13800 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
apache/trafficserver#13798 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
apache/trafficserver#13784 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của apache/trafficserver
Issue tương tự
-
agent:Windows bug code-review LOW testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Cleanup] Include the public header in work_split.cppCó thể đã có người làm @blozano-tt đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
tenstorrent/tt-metal#60850 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Build: the CUDA backend fails without cuDNN instead of skipping the cuDNN shim (as the cuDF shim does)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
beehive-lab/TornadoVM#1248 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SimVascular/svZeroDSolver#253 ·
-
bug Filter
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
BlueQuartzSoftware/simplnx#1825 ·
Maintainer thường phản hồi trong vòng 3 ngày