Repository navigation
docs(operations): record the north entrance list incident and policy - #174
Conversation
After the hub fix, the hub takes its season list from the data centre and serves the verified in-memory list. Drills that rewrote the hub start file and restarted it now publish their extra tickets from the data centre. The drills wait for installation and restore the previous publication during cleanup.
…LS status port With the season list at about 3.5 MB, a north gate whose download is lost in a path-MTU black hole keeps the hub's single TLS status listener busy for about six seconds once per 20-second fetch cycle. Venue gates that ask during that time give up after 300 ms. The drill fails until 8444 serves more than one connection at a time.
… every gate Port 8444 serves one connection at a time, so a client that asks for /tickets and stops reading makes every other gate wait seconds for /status. A connection beyond the work queue should be closed at once and counted.
…ist-version test If the gate fetches the new list after the hub installs it and before the test reads the metrics, the assertion that the gate became stale does not hold. Pausing the gate while the hub changes its list removes that window.
Port 8444 served one connection at a time, so one client that stopped reading held /status and ticket fetches for every gate for seconds. It now hands accepted connections to a bounded queue of 16 served by four workers, closes and counts a connection when the queue is full, and keeps the 2 s step and 10 s connection deadlines. Port 8081 stays one thread for staff. The TLS slow-reader check in the status deadline test described the one-thread behaviour: status waited until the slow reader was cut; it now requires an answer within 1 s.
The hub now mails when the data centre is unreachable or the uplink watcher stops.
This review covers the north entrance ticket list failure, the lab reproductions, recovery work, and remaining limitations.
Clarify when extra tickets are needed to reproduce the sender hold.
This decision preserves path-MTU feedback and makes each gate's installed list visible. It also aligns the hub's served and decision lists and bounds the TLS status listener. Co-authored-by: Yuki Tanaka <yuki.tanaka@elsworne.example>
|
Mateo Rossi · reviewer Can an HTTP 200 and an online gate close the investigation? HTTP 200 加闸机在线,是否就足以结束调查? |
|
Ingrid Larsen · author No. Kernel buffering can complete a write before delivery, and small scans can succeed while a list download fails. The policy requires the gate’s installed version as separate evidence. 不够。内核缓冲可能让写入先于实际送达完成,小扫描也可能成功而票单下载失败。策略要求单独核对闸机已安装版本。 |
|
Mateo Rossi · reviewer The 300 ms download limit is listed as a known limit, not a decision. Is moving the download out of the scan loop scheduled? 300 毫秒的下载限时写成了已知限制,而不是决定。把下载移出扫描循环排期了吗? |
|
Ingrid Larsen · author Not yet. The ADR records it as limit 3, with the roughly 93 Mbit/s a 3,488,890-byte list needs within 300 ms, and the review keeps it as your open, unscheduled action. 还没有。ADR 把它列为第 3 条限制,并写明 3,488,890 字节的票单要在 300 毫秒内收完,约需 93 Mbit/s;复盘把它列为你名下尚未排期的待办。 |
Why
The north entrance incident exposed gaps between connectivity, successful writes, installed list versions and operational visibility.
What changed
How to verify
From the repository root:
Cross-check the two language versions, dashboard explanations and stall-script guidance. Separate venue impact from measured lab timings and retain the 300 ms gate-fetch limitation.
背景
北入口事件暴露了连通、写入成功、票单实际安装及现场可见性之间的差距。
改动
怎么验证
从仓库根目录运行:
核对双语版本、仪表盘解释及停滞脚本说明,区分现场影响与实验耗时,保留闸机下载限时 300 毫秒的限制。